cave-story-randomizer/cs-hacks/IncreaseMAX_STRIP/ReleaseCreditScript.txt
2021-09-23 22:21:07 -06:00

34 lines
356 B
Plaintext

offset 40d410
#define
Credit.pData=49d614
Strip=49d628
_free=0048128b
#enddefine
push ebp
mov ebp,esp
mov eax, [Credit.pData]
test eax, eax
je :$LN2@ReleaseCre
push eax
call _free
pop ecx
and [Credit.pData], 0
:$LN2@ReleaseCre
mov eax, [Strip]
test eax, eax
je :$LN3@ReleaseCre
push eax
call _free
pop ecx
:$LN3@ReleaseCre
mov esp, ebp
pop ebp
retn