//
// sub_100618988 from 0x100618988 to 0x1006189b8 (48 bytes)
//
// 6 xrefs:
// > sub_1005C22CC @ 0x1005c2344
// > sub_1005C22CC @ 0x1005c26ac
// > sub_1005CAAB4 @ 0x1005caba8
// > sub_1005CAAB4 @ 0x1005cad30
// > sub_1005D3E70 @ 0x1005d3eb4
// > sub_1005D3E70 @ 0x1005d403c
//
// 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_100618988(__int64 a1)
{
if ( *(_DWORD *)a1 == 1 )
return *(_QWORD *)(*(_QWORD *)(a1 + 8) + 40LL);
if ( *(_DWORD *)a1 )
return 0;
return *(_QWORD *)(*(_QWORD *)(a1 + 8) + 48LL);
}