//
// sub_64B58 from 0x64b58 to 0x64bac (84 bytes)
//
// 1 xrefs:
// > sub_58CA8 @ 0x58e94
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:40:54 +0000
//
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;
}