//
// sub_88CA0C from 0x88ca0c to 0x88ca72 (102 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:18 +0000
//
int __fastcall sub_88CA0C(_DWORD *a1)
{
int v2; // r3
v2 = a1[110];
if ( !v2 )
{
if ( !sub_88C930(a1) )
return 0;
v2 = a1[110];
}
if ( *(_DWORD *)(a1[116] + 20) + 208 == v2 )
{
*(_DWORD *)(*a1 + 20) = 100;
*(_DWORD *)(*a1 + 24) = *(_DWORD *)(a1[116] + 20);
(*(void (__fastcall **)(_DWORD *, int))(*a1 + 4))(a1, 3);
a1[110] = 0;
goto LABEL_4;
}
if ( (*(int (__fastcall **)(_DWORD *))(a1[6] + 20))(a1) )
{
LABEL_4:
*(_DWORD *)(a1[116] + 20) = ((unsigned __int8)*(_DWORD *)(a1[116] + 20) + 1) & 7;
return 1;
}
return 0;
}