//
// sub_4B278 from 0x4b278 to 0x4b298 (32 bytes)
//
// 2 xrefs:
// > sub_4ADB4 @ 0x4adf4
// > FMOD::Channel::setLoopCount @ 0xad700
//
// 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_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;
}