//
// sub_10009A7B0 from 0x10009a7b0 to 0x10009a7c9 (25 bytes)
//
// 4 xrefs:
// > ??> @ 0x1008b4988
// > ??> @ 0x1008b49f0
// > ??> @ 0x1008b4a48
// > ??> @ 0x1008b4aa0
//
// 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_10009A7B0(__int64 a1, _QWORD *a2)
{
__int64 result; // rax
if ( a2 )
{
--*(_DWORD *)(a1 + 112);
result = *(_QWORD *)(a1 + 104);
*a2 = result;
*(_QWORD *)(a1 + 104) = a2;
}
return result;
}