//
// sub_E3528 from 0xe3528 to 0xe360c (228 bytes)
//
// 1 xrefs:
// > sub_E0F84 @ 0xe144c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:14:58 +0000
//
__int64 __fastcall sub_E3528(__int64 a1, int a2, _DWORD *a3, int *a4)
{
__int64 v7; // x22
__int64 v8; // x23
__int64 v9; // x24
__int64 v10; // x8
int v12; // w8
v7 = 0;
v8 = a2;
while ( v7 < a2 )
{
if ( (*(unsigned __int8 *)(a1 + v7) | 0x20) == 0x20 )
{
v9 = 0;
*(_BYTE *)(a1 + v7) = 0;
while ( v9 != 3 )
{
if ( !(unsigned int)sub_E3D84(a1, off_10F200[v9]) )
{
v10 = (int)v7 + 1;
*a3 = v9;
while ( v10 < v8 )
{
if ( (*(unsigned __int8 *)(a1 + v10) | 0x20) == 0x20 )
{
*(_BYTE *)(a1 + v10) = 0;
v12 = atoi((const char *)(a1 + v7 + 1));
*a4 = v12;
return 0;
}
++v10;
}
return 31;
}
++v9;
}
return 31;
}
++v7;
}
return 31;
}