//
// sub_56B48 from 0x56b48 to 0x56b72 (42 bytes)
//
// 2 xrefs:
// > ??> @ 0x56b46
// > FMOD::ChannelI::validate @ 0x4a28a
//
// 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:46 +0000
//
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;
}