//
// sub_180101FC0 from 0x180101fc0 to 0x18010203a (122 bytes)
//
// 1 xrefs:
// > sub_1800E14F0 @ 0x1800e1be0
//
// 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:29 +0000
//
__int64 __fastcall sub_180101FC0(__int64 a1, int a2, float a3, float a4, float a5, __int64 a6, float *a7)
{
__int64 v7; // r8
unsigned int v9; // edx
if ( !a7 || (unsigned int)(a6 - 1) > 0x1F )
return 31;
v7 = *(_QWORD *)(*(_QWORD *)a1 + 168LL);
if ( !a2 )
a2 = *(_DWORD *)(v7 + 70452);
if ( !*(_BYTE *)(v7 + 8) )
return 67;
v9 = a2 - 1;
if ( v9 <= 7 )
return sub_1800F8FF0(v7 + 71128 + 192LL * (int)v9, a3, a4, a5, a6, a7);
else
return 31;
}