mirror of
https://github.com/cave-story-randomizer/cave-story-randomizer
synced 2024-12-25 14:37:05 +00:00
32 lines
335 B
Plaintext
32 lines
335 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
|
|
retn |