//
// sub_62D78 from 0x62d78 to 0x62dac (52 bytes)
//
// 2 xrefs:
// > sub_6BF84 @ 0x6bfc4
// > sub_7676C @ 0x76888
//
// 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_62D78(__int64 a1, _DWORD *a2)
{
if ( !a2 )
return 31;
*a2 = sub_59188(a1 + 648);
return 0;
}