//
// sub_180100EC0 from 0x180100ec0 to 0x180100f39 (121 bytes)
//
// 2 xrefs:
// > sub_1800E4E00 @ 0x1800e50d1
// > ??> @ 0x180201124
//
// 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_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;
}