Skip to content

Instantly share code, notes, and snippets.

@dogmatic69
Created June 10, 2019 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogmatic69/54a567c84fb33cd144721e719a93a4f4 to your computer and use it in GitHub Desktop.
Save dogmatic69/54a567c84fb33cd144721e719a93a4f4 to your computer and use it in GitHub Desktop.
void fn004017A0()
{
fn004017A0_entry:
esp = fp
l004017A0:
esp = esp - 0x04
Mem0[esp:word32] = ebp
ebp = esp
esp = esp - 0x04
Mem0[esp:word32] = esi
esi = ecx
ecx = Mem0[ebp + 0x08:word32]
SZO = cond(ecx & ecx)
C = false
branch Test(NE,Z) l004017B7
l004017AD:
esp = esp - 0x04
Mem0[esp:word32] = 0x80004005
call fn00401A30 (retsize: 4;)
esp = esp + 0x04
l004017B7:
eax = Mem0[ecx:word32]
edx = Mem0[eax + 0x0C:word32]
call edx (retsize: 4;)
eax = eax + 0x10
SCZO = cond(eax)
Mem0[esi:word32] = eax
eax = esi
esi = Mem0[esp:word32]
esp = esp + 0x04
ebp = Mem0[esp:word32]
esp = esp + 0x04
return
fn004017A0_exit:
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment