//
// sub_1800CFC60 from 0x1800cfc60 to 0x1800cfcca (106 bytes)
//
// 2 xrefs:
// > ??> @ 0x18016c970
// > ??> @ 0x1801fe9d0
//
// 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_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;
}