//
// sub_45C58 from 0x45c58 to 0x45ca8 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x45c56
//
// 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:37 +0000
//
int __fastcall sub_45C58(int a1, float a2)
{
int result; // r0
int v5; // r3
int v6; // r1
int v7; // r6
if ( (*(_BYTE *)(a1 + 32) & 0x80) == 0 )
{
result = sub_45A6C((_DWORD *)a1, a2);
if ( result )
return result;
if ( *(_DWORD *)(a1 + 536) )
{
v6 = 0;
while ( 1 )
{
v7 = v6 + 12;
if ( v6 == 48 )
break;
result = sub_45984((_DWORD *)a1, *(_DWORD *)(a1 + 4) + v6 + 71688, a2, v5);
v6 = v7;
if ( result )
return result;
}
}
}
return 0;
}