//
// sub_9909C from 0x9909c to 0x990d0 (52 bytes)
//
// 1 xrefs:
// > sub_9916A @ 0x9916c
//
// 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:41:29 +0000
//
int __fastcall sub_9909C(int a1, int a2, int *a3, int a4)
{
int v5; // r1
if ( a2 )
return 31;
v5 = *(_DWORD *)(a1 + 404);
if ( v5 >= 6 )
v5 = 6;
*a3 = v5 & ~(v5 >> 31);
if ( a4 )
sub_BE220(a4, off_ECEA4[*(_DWORD *)(a1 + 376)], 32);
return 0;
}