//
// sub_10057922C from 0x10057922c to 0x10057928c (96 bytes)
//
// 1 xrefs:
// > sub_10055D560 @ 0x10055d560
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:08:24 +0000
//
__int64 __fastcall sub_10057922C(__int64 a1, __int64 a2, __int64 a3, _DWORD *a4, _DWORD *a5)
{
__int64 result; // x0
unsigned __int8 v8; // [xsp+Eh] [xbp-12h] BYREF
unsigned __int8 v9; // [xsp+Fh] [xbp-11h] BYREF
if ( !a1 )
return 31;
result = FMOD::Sound::getOpenState(a1, a2, a3, &v9, &v8);
if ( !(_DWORD)result )
{
if ( a4 )
*a4 = v9;
result = 0;
if ( a5 )
*a5 = v8;
}
return result;
}