//
// sub_1004530C4 from 0x1004530c4 to 0x100453124 (96 bytes)
//
// 1 xrefs:
// > sub_1004373F8 @ 0x1004373f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1004530C4(FMOD::Sound *a1, FMOD_OPENSTATE *a2, unsigned int *a3, _DWORD *a4, _DWORD *a5)
{
__int64 result; // x0
bool v8; // [xsp+Eh] [xbp-12h] BYREF
bool 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;
}