//
// sub_18009C3E0 from 0x18009c3e0 to 0x18009c416 (54 bytes)
//
// 2 xrefs:
// > ??> @ 0x180169880
// > ??> @ 0x1801fac50
//
// 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:50 +0000
//
__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;
}