//
// sub_62D04 from 0x62d04 to 0x62d38 (52 bytes)
//
// 2 xrefs:
// > sub_6BF84 @ 0x6bff4
// > sub_78B30 @ 0x78e4c
//
// 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
//
// positive sp value has been detected, the output may be wrong!
__int64 __fastcall sub_62D04(__int64 a1, _DWORD *a2)
{
if ( !a2 )
return 31;
*a2 = sub_59188(a1 + 384);
return 0;
}