Page 2 of 2

Re: is it possible to create a pointer from a simple AA script ?

Posted: Tue Jul 30, 2019 4:50 pm
by TheByteSize
Here is hint... Go read and see how to create a symbol or look at how other people create symbol.

Re: is it possible to create a pointer from a simple AA script ?

Posted: Tue Jul 30, 2019 5:26 pm
by Rysefox
bachou wrote:
Tue Jul 30, 2019 11:42 am
my edit (not working)

Code: Select all

[ENABLE]
aobscanmodule(fill_bGauge,Atelier_Lulua.exe,0F 48 C6 89 47 10)
alloc(newmem,$1000,"Atelier_Lulua.exe"+E246)

label(code)
label(return)
registersymbol(fill_bGauge)
label(AP)
registersymbol(AP)

newmem:

code:
  cmovs eax,esi
  mov [rdi+10],#200 //original: mov [rdi+10],eax
  jmp return

fill_bGauge:
  jmp newmem
AP:
dq 0
  nop
return:


[DISABLE]
fill_bGauge:
  db 0F 48 C6 89 47 10

unregistersymbol(fill_bGauge)
dealloc(newmem)
unregistersymbol(AP)

1. Why do you register a symbol when you dont use it in your script?
2. Why register a symbol with the same name as the Aobscanmodule?
3. Put

Code: Select all

AP: 
dq 0
under your code