//
// sub_180097F60 from 0x180097f60 to 0x180097f7f (31 bytes)
//
// 3 xrefs:
// > sub_1800C8A70 @ 0x1800c8a92
// > sub_1800C8A70 @ 0x1800c8ab5
// > sub_1800C8A70 @ 0x1800c8acf
//
// 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 10:53:47 +0000
//
__int64 __fastcall sub_180097F60(__int64 a1, _QWORD *a2)
{
if ( (*(_DWORD *)(a1 + 100) & 0x800) == 0 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 8LL))(a1);
*a2 = *(_QWORD *)(a1 + 440);
return 0;
}