//
// sub_18009C3E0 from 0x18009c3e0 to 0x18009c416 (54 bytes)
//
// 2 xrefs:
// > ??> @ 0x180169880
// > ??> @ 0x1801fac50
//
// 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_18009C3E0(__int64 a1, unsigned __int64 a2)
{
__int64 v2; // rax
_QWORD *v4; // rcx
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 232);
if ( !v2 )
return 0;
if ( !*(_QWORD *)(v2 + 88) )
return 0;
v4 = (_QWORD *)(a1 + 176);
*v4 = a1;
result = (*(__int64 (__fastcall **)(_QWORD *, unsigned __int64))(v2 + 88))(v4, HIDWORD(a2));
if ( !(_DWORD)result )
return 0;
return result;
}