//
// sub_9E534 from 0x9e534 to 0x9e59e (106 bytes)
//
// 0 xrefs:
//
// 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_9E534(_DWORD *a1, int a2, int a3)
{
int v4; // r0
int v6; // r0
_DWORD v7[2]; // [sp+4h] [bp-1Ch] BYREF
char v8; // [sp+Ch] [bp-14h]
if ( !a2 )
{
v4 = -1;
LABEL_5:
a1[129] = v4;
return 0;
}
if ( !a3 )
{
if ( (unsigned int)(a1[129] + 1) > 1 )
return 0;
v6 = a1[23];
__dmb(0xBu);
if ( (v6 & 0x100) != 0 )
v4 = 0;
else
v4 = *(_DWORD *)(a1[32] + 68872) + 1;
goto LABEL_5;
}
v7[0] = a1[32];
v7[1] = 3;
v8 = 0;
sub_44998((int)v7);
a1[129] = 0;
sub_448CC((int)v7);
return 0;
}