//
// sub_88C8A0 from 0x88c8a0 to 0x88c92e (142 bytes)
//
// 1 xrefs:
// > sub_88CF50 @ 0x88d470
//
// 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_88C8A0(_DWORD *a1)
{
unsigned __int8 **v2; // r8
unsigned __int8 *v3; // r2
unsigned __int8 *v4; // r3
int v5; // r1
unsigned __int8 *v6; // r7
int v7; // r6
unsigned __int8 *v8; // r9
int v9; // r3
int v10; // r5
v2 = (unsigned __int8 **)a1[6];
v3 = *v2;
v4 = v2[1];
if ( !v4 )
{
if ( !((int (*)(void))v2[3])() )
return 0;
v3 = *v2;
v4 = v2[1];
}
v5 = *v3;
v6 = v4 - 1;
if ( v4 != (_BYTE *)&dword_0 + 1 )
++v3;
v7 = v5 << 8;
if ( v4 != (_BYTE *)&dword_0 + 1 )
goto LABEL_7;
if ( !((int (__fastcall *)(_DWORD *))v2[3])(a1) )
return 0;
v3 = *v2;
v6 = v2[1];
LABEL_7:
v8 = v3 + 1;
v9 = *v3 + v7;
*(_DWORD *)(*a1 + 20) = 93;
v10 = v9 - 2;
*(_DWORD *)(*a1 + 24) = a1[110];
*(_DWORD *)(*a1 + 28) = v9 - 2;
(*(void (__fastcall **)(_DWORD *, int))(*a1 + 4))(a1, 1);
*v2 = v8;
v2[1] = v6 - 1;
if ( v10 > 0 )
(*(void (__fastcall **)(_DWORD *, int))(a1[6] + 16))(a1, v10);
return 1;
}