//
// sub_9E2D0 from 0x9e2d0 to 0x9e338 (104 bytes)
//
// 1 xrefs:
// > sub_9DF28 @ 0x9e0e2
//
// 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:32 +0000
//
int __fastcall sub_9E2D0(int a1, int a2, int a3, int a4, _DWORD *a5, _DWORD *a6, int a7, int a8)
{
if ( *a6 || *a5 )
{
if ( a8 == 4 )
{
sub_A1A54(a1, a2, a3);
return 0;
}
if ( a8 == 3 )
{
sub_9E600(a1, a2, a3);
return 0;
}
if ( a8 != 1 )
{
sub_9F7C0(a1, a2, a3);
return 0;
}
}
sub_A1218(a1, a2, a3);
return 0;
}