//
// sub_59858 from 0x59858 to 0x5986a (18 bytes)
//
// 1 xrefs:
// > FMOD::System::set3DNumListeners @ 0xb8bfc
//
// 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:47 +0000
//
int __fastcall sub_59858(int a1, int a2)
{
if ( (unsigned int)(a2 - 1) > 7 )
return 31;
*(_DWORD *)(a1 + 68252) = a2;
return 0;
}