//
// sub_9E798 from 0x9e798 to 0x9e808 (112 bytes)
//
// 1 xrefs:
// > sub_9E3A4 @ 0x9e3d0
//
// 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:28 +0000
//
__int64 __fastcall sub_9E798(__int64 a1)
{
__int64 result; // x0
unsigned __int8 v3; // [xsp+8h] [xbp-8h]
int v4; // [xsp+Ch] [xbp-4h] BYREF
v4 = 0;
LABEL_2:
result = sub_9DA24(a1, &v4);
if ( !(_DWORD)result )
{
result = sub_9E9E0();
if ( !(_DWORD)result )
{
if ( v3 == 91 || v3 == 35 )
{
while ( 1 )
{
result = sub_9E9E0();
if ( (_DWORD)result )
break;
if ( (sub_9E9EC(result, v3) & 1) != 0 )
goto LABEL_2;
}
}
else
{
return sub_9E91C(*(_QWORD *)(a1 + 368), 0xFFFFFFFFLL);
}
}
}
return result;
}