//
// sub_58254 from 0x58254 to 0x58274 (32 bytes)
//
// 2 xrefs:
// > sub_581BC @ 0x581ce
// > FMOD::System::close @ 0xb8716
//
// 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:47 +0000
//
int __fastcall sub_58254(int a1)
{
int result; // r0
if ( *(_BYTE *)(a1 + 68936) )
return 28;
if ( !*(_BYTE *)(a1 + 4) )
return 0;
result = sub_57338(a1, 0);
if ( !result )
return 0;
return result;
}