//
// 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 (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:41:47 +0000
//
int __fastcall sub_BE978(int a1, _DWORD *a2)
{
if ( !a2 )
return 31;
*a2 = *(_DWORD *)(a1 + 40);
return 0;
}