//
// sub_10031BF30 from 0x10031bf30 to 0x10031bf55 (37 bytes)
//
// 0 xrefs:
//
// 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_10031BF30(__int64 *a1)
{
__int64 v2; // rdi
__int64 result; // rax
v2 = *a1;
if ( v2 )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 8LL))(v2);
*a1 = 0;
}
return result;
}