//
// sub_100061BC0 from 0x100061bc0 to 0x100061bd9 (25 bytes)
//
// 4 xrefs:
// > ??> @ 0x100ab7fa8
// > ??> @ 0x100ab8010
// > ??> @ 0x100ab8068
// > ??> @ 0x100ab80c0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:19:41 +0000
//
__int64 __fastcall sub_100061BC0(__int64 a1, _QWORD *a2)
{
__int64 result; // rax
if ( a2 )
{
--*(_DWORD *)(a1 + 112);
result = *(_QWORD *)(a1 + 104);
*a2 = result;
*(_QWORD *)(a1 + 104) = a2;
}
return result;
}