//
// sub_1007C0310 from 0x1007c0310 to 0x1007c0364 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x100994528
//
// 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_1007C0310(__int64 a1, int a2)
{
__int64 result; // rax
if ( *(_DWORD *)(a1 + 40) == a2 )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 160) + 328LL))(*(_QWORD *)(a1 + 160), 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 176) + 328LL))(*(_QWORD *)(a1 + 176), 1);
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 72) + 328LL))(*(_QWORD *)(a1 + 72), 1);
}
return result;
}