//
// sub_84E288 from 0x84e288 to 0x84e2ee (102 bytes)
//
// 2 xrefs:
// > sub_83168C @ 0x8328ec
// > sub_83168C @ 0x832d68
//
// 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:02:29 +0000
//
int __fastcall sub_84E288(int a1, int *a2)
{
const char *v4; // r1
int *v5; // r4
char *v6; // r0
char *v7; // r5
size_t v8; // r0
int v9; // r4
if ( !a2 )
return 0;
if ( *(_BYTE *)(a1 + 619) )
{
v4 = *(const char **)(a1 + 204);
}
else if ( *(_BYTE *)(a1 + 618) )
{
v4 = *(const char **)(a1 + 236);
}
else
{
v4 = *(_BYTE *)(a1 + 615) ? *(const char **)(a1 + 172) : *(const char **)(a1 + 152);
}
v5 = a2;
v6 = sub_837044("%s:%d", v4, *(_DWORD *)(a1 + 260));
v7 = v6;
if ( !v6 )
return 0;
v8 = strlen(v6);
v9 = sub_83E594(v5, (int)v7, v8);
off_D200B0(v7);
return v9;
}