//
// sub_1001B2AEC from 0x1001b2aec to 0x1001b2b1c (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007b0f88
//
// 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_1001B2AEC(__int64 result, int a2)
{
if ( *(_DWORD *)(*(_QWORD *)(result + 16) + 328LL) - *(_DWORD *)(*(_QWORD *)(result + 16) + 332LL) == a2 )
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(result + 88) + 328LL))(*(_QWORD *)(result + 88), 0);
return result;
}