//
// sub_180100EC0 from 0x180100ec0 to 0x180100f39 (121 bytes)
//
// 2 xrefs:
// > sub_1800E4E00 @ 0x1800e50d1
// > ??> @ 0x180201124
//
// 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_180100EC0(__int64 a1)
{
int i; // ebx
__int64 result; // rax
int v4; // [rsp+58h] [rbp+10h] BYREF
float *v5; // [rsp+60h] [rbp+18h] BYREF
int *v6; // [rsp+68h] [rbp+20h] BYREF
for ( i = 1; i < 9; ++i )
{
v4 = 0;
v5 = nullptr;
v6 = nullptr;
sub_1800F8A90(i, &v4, &v6, &v5, nullptr);
result = sub_1800F74F0(192LL * (i - 1) + a1 + 71128, v4, v6, v5);
if ( (_DWORD)result )
break;
}
return result;
}