//
// sub_1800CFC60 from 0x1800cfc60 to 0x1800cfcca (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c970
// > ??> @ 0x1801fe9d0
//
// 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:54:09 +0000
//
__int64 __fastcall sub_1800CFC60(_QWORD *a1, unsigned int a2, float a3)
{
__int64 v3; // rax
__int64 result; // rax
v3 = a1[59];
if ( !v3 || !a1[4] )
return 30;
if ( (*(_DWORD *)(v3 + 60) & 0x10000) != 0 )
return 58;
result = sub_180010760((__int64)a1, a2, a3);
if ( !(_DWORD)result )
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 120LL))(a1, a2);
return result;
}