//
// sub_BE798 from 0xbe798 to 0xbe7c0 (40 bytes)
//
// 2 xrefs:
// > ??> @ 0x10ee10
// > ??> @ 0x10eea8
//
// 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
//
__int64 __fastcall sub_BE798(__int64 a1, _DWORD *a2)
{
if ( !a2 )
return 31;
a2[1] = *(_DWORD *)(a1 + 580);
*a2 = *(_DWORD *)(a1 + 624);
return 0;
}