Created
June 9, 2015 06:48
-
-
Save taida957789/93e10b34e617a9b954fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ENABLE] | |
Alloc(StatChange,1024) | |
Alloc(_str,4) | |
Alloc(_dex,4) | |
Alloc(_int,4) | |
Alloc(_luk,4) | |
Alloc(_hp,4) | |
Alloc(_maxhp,4) | |
Alloc(_mp,4) | |
Alloc(_maxmp,4) | |
_str: | |
DD #999 | |
_dex: | |
DD #999 | |
_int: | |
DD #999 | |
_luk: | |
DD #999 | |
_hp: | |
DD #10000 | |
_maxhp: | |
DD #10000 | |
_mp: | |
DD #10000 | |
_maxmp: | |
DD #10000 | |
StatChange: | |
mov eax,[_str] | |
mov [esi+47],eax | |
mov eax,[_dex] | |
mov [esi+4F],eax | |
mov eax,[_int] | |
mov [esi+57],eax | |
mov eax,[_luk] | |
mov [esi+5F],eax | |
mov eax,[_hp] | |
mov [esi+67],eax | |
mov eax,[_maxhp] | |
mov [esi+6F],eax | |
mov eax,[_mp] | |
mov [esi+77],eax | |
mov eax,[_maxmp] | |
mov [esi+7F],eax | |
test byte ptr [ebp+08],40 | |
je 004F0978 | |
jmp 004F094A | |
004F095E: | |
jmp StatChange | |
nop | |
[DISABLE] | |
004F095E: | |
test byte ptr [ebp+08],40 | |
je 004F0978 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment