//
// sub_632044 from 0x632044 to 0x632080 (60 bytes)
//
// 5 xrefs:
// > sub_6385D8 @ 0x6385e8
// > sub_6402D4 @ 0x640564
// > sub_6402D4 @ 0x6405da
// > sub_6402D4 @ 0x64067e
// > sub_6402D4 @ 0x6406f6
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_DWORD *__fastcall sub_632044(int a1)
{
_DWORD *result; // r0
_DWORD *v3; // r4
void *v4; // r5
result = off_ABAEAC(8u);
v3 = result;
if ( result )
{
v4 = off_ABAEAC(*(_DWORD *)(a1 + 12));
v3[1] = v4;
if ( v4 )
{
*v3 = a1;
(*(void (**)(void))a1)();
return v3;
}
else
{
off_ABAEB0(v3);
return nullptr;
}
}
return result;
}