//
// sub_4B278 from 0x4b278 to 0x4b298 (32 bytes)
//
// 2 xrefs:
// > sub_4ADB4 @ 0x4adf4
// > FMOD::Channel::setLoopCount @ 0xad700
//
// 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:40 +0000
//
int __fastcall sub_4B278(int a1, int a2)
{
int v3; // r0
v3 = *(_DWORD *)(a1 + 332);
if ( !v3 || !*(_DWORD *)(a1 + 16) )
return 30;
if ( a2 >= -1 )
return (*(int (__fastcall **)(int))(*(_DWORD *)v3 + 76))(v3);
return 31;
}