//
// sub_180096C50 from 0x180096c50 to 0x180096ccb (123 bytes)
//
// 2 xrefs:
// > sub_18009BCC0 @ 0x18009c08b
// > ??> @ 0x1801fa980
//
// 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_180096C50(__int64 a1, unsigned int a2, __int64 a3)
{
__int64 result; // rax
unsigned int v7; // edi
if ( !*(_QWORD *)(a1 + 504) )
return 0;
result = sub_180102260(*(_QWORD *)(a1 + 168), 0);
if ( !(_DWORD)result )
{
v7 = (*(__int64 (__fastcall **)(__int64, _QWORD, __int64))(a1 + 504))(a1, a2, a3);
result = sub_180102340(*(_QWORD *)(a1 + 168));
if ( !(_DWORD)result )
{
if ( v7 )
return v7;
return 0;
}
}
return result;
}