//
// sub_56B48 from 0x56b48 to 0x56b72 (42 bytes)
//
// 2 xrefs:
// > ??> @ 0x56b46
// > FMOD::ChannelI::validate @ 0x4a28a
//
// 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_56B48(unsigned int a1, _DWORD *a2)
{
int result; // r0
int v4; // r2
if ( !a2 )
return 31;
result = 0;
*a2 = 0;
if ( a1 > 7 )
return 31;
v4 = *((_DWORD *)off_E8000 + a1 + 75);
*a2 = v4;
if ( !v4 )
return 31;
return result;
}