//
// sub_BE978 from 0xbe978 to 0xbe986 (14 bytes)
//
// 6 xrefs:
// > sub_59E9C @ 0x59ebc
// > sub_59E9C @ 0x59ecc
// > sub_59E9C @ 0x59ede
// > sub_59E9C @ 0x59ef0
// > sub_59E9C @ 0x59f02
// > sub_59E9C @ 0x59f14
//
// 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_BE978(int a1, _DWORD *a2)
{
if ( !a2 )
return 31;
*a2 = *(_DWORD *)(a1 + 40);
return 0;
}