//
// sub_55A10 from 0x55a10 to 0x55a76 (102 bytes)
//
// 2 xrefs:
// > sub_55578 @ 0x55622
// > sub_566D6 @ 0x566d8
//
// 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
//
int __fastcall sub_55A10(int a1, _DWORD *a2, int a3)
{
if ( !a2 )
return 31;
if ( a2[5] != a1 )
return 34;
sub_4A346(a2);
if ( !a2[8] )
sub_BD7AC(*(int *)((char *)&dword_14C + (_DWORD)off_E8000), a2, "../../src/fmod_soundi.cpp", 2362, 1);
--*(_DWORD *)(a1 + 164);
if ( !a3 )
sub_56690(a1);
return 0;
}