//
// sub_4BE60 from 0x4be60 to 0x4be78 (24 bytes)
//
// 1 xrefs:
// > sub_78744 @ 0x78c52
//
// 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
//
int __fastcall sub_4BE60(int a1, _DWORD *a2)
{
if ( !a2 )
return 31;
if ( !*(_DWORD *)(a1 + 332) )
return 30;
*a2 = *(_DWORD *)(a1 + 24);
return 0;
}