//
// sub_180101ED0 from 0x180101ed0 to 0x180101f29 (89 bytes)
//
// 1 xrefs:
// > sub_1800E14F0 @ 0x1800e1bb7
//
// 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_180101ED0(__int64 a1, int a2, float a3, float a4, __int64 a5)
{
__int64 v5; // r8
unsigned int v7; // edx
if ( !a5 )
return 31;
v5 = *(_QWORD *)(*(_QWORD *)a1 + 168LL);
if ( !a2 )
a2 = *(_DWORD *)(v5 + 70452);
if ( !*(_BYTE *)(v5 + 8) )
return 67;
v7 = a2 - 1;
if ( v7 <= 7 )
return sub_1800F8EC0(v5 + 71128 + 192LL * (int)v7, a3, a4, a5);
else
return 31;
}