//
// sub_55F58 from 0x55f58 to 0x55f8a (50 bytes)
//
// 0 xrefs:
//
// 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:46 +0000
//
int __fastcall sub_55F58(int a1, _DWORD *a2, int *a3, _DWORD *a4, int a5)
{
int v5; // r1
if ( a2 )
*a2 = *(_DWORD *)(a1 + 20);
if ( a3 )
{
if ( (*(_BYTE *)(a1 + 29) & 2) != 0 && !*(_DWORD *)(a1 + 128) )
v5 = 6;
else
v5 = *(_DWORD *)(a1 + 24);
*a3 = v5;
}
if ( a4 )
*a4 = *(_DWORD *)(a1 + 76);
if ( a5 )
sub_55F8A();
return 0;
}