//
// sub_100509824 from 0x100509824 to 0x100509844 (32 bytes)
//
// 3 xrefs:
// > ??> @ 0x100827a70
// > ??> @ 0x100827c98
// > ??> @ 0x10082a550
//
// 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_100509824(__int64 a1, _DWORD *a2)
{
if ( !a2 )
return 31;
*a2 = *(_DWORD *)(a1 + 24);
return 0;
}