//
// sub_880C28 from 0x880c28 to 0x880c7c (84 bytes)
//
// 0 xrefs:
//
// 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 12:03:10 +0000
//
int __fastcall sub_880C28(_DWORD *a1)
{
_DWORD *v2; // r4
int result; // r0
int v4; // r3
v2 = (_DWORD *)a1[98];
result = (*(int (**)(void))(a1[106] + 8))();
v4 = v2[5];
if ( v4 == 1 )
{
v2[5] = 2;
++v2[6];
}
else
{
if ( v4 )
{
if ( v4 == 2 )
{
if ( a1[54] )
v2[5] = 1;
++v2[8];
}
}
else
{
v2[5] = 2;
if ( !a1[54] )
++v2[8];
}
++v2[6];
}
return result;
}