//
// sub_E263E8 from 0xe263e8 to 0xe26500 (280 bytes)
//
// 2 xrefs:
// > sub_E113EC @ 0xe115d4
// > sub_E117C4 @ 0xe11908
//
// 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 13:09:48 +0000
//
__int64 __fastcall sub_E263E8(const char **a1, _QWORD **a2)
{
const char **v3; // x21
_QWORD *v4; // x24
_QWORD *v5; // x20
const char *v6; // x0
const char *v7; // t1
char *v8; // x19
v3 = a1;
v4 = *a2;
if ( !a1 )
{
v5 = nullptr;
LABEL_10:
if ( v4 )
sub_E0F748(v4, 0);
*a2 = v5;
return 0;
}
v5 = sub_E0F590((__int64)sub_E25E7C);
if ( !v5 )
return 3;
v6 = *v3;
if ( !*v3 )
goto LABEL_10;
while ( 1 )
{
v8 = off_154A3D8(v6);
if ( !v8 )
{
sub_E0F748(v5, 0);
return 3;
}
if ( !(unsigned int)sub_E0F5D4(v5, v5[1], (__int64)v8) )
break;
v7 = v3[1];
++v3;
v6 = v7;
if ( !v7 )
goto LABEL_10;
}
sub_E0F748(v5, 0);
off_154A3C8(v8);
return 3;
}