//
// sub_64B58 from 0x64b58 to 0x64bac (84 bytes)
//
// 1 xrefs:
// > sub_58CA8 @ 0x58e94
//
// 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
//
int __fastcall sub_64B58(int a1)
{
int v1; // r4
int i; // r5
int result; // r0
int v4; // [sp+4h] [bp-24h] BYREF
float *v5; // [sp+8h] [bp-20h] BYREF
int v6; // [sp+Ch] [bp-1Ch] BYREF
v1 = a1 + 69816;
for ( i = 1; i != 9; ++i )
{
v5 = nullptr;
v6 = 0;
v4 = 0;
sub_60A9C(i, &v6, &v4, &v5, nullptr);
result = sub_5F130(v1, v6, v4, v5);
v1 += 132;
if ( result )
return result;
}
return 0;
}