//
// sub_E35F00 from 0xe35f00 to 0xe35fa0 (160 bytes)
//
// 2 xrefs:
// > lws_read @ 0xe317c8
// > lws_read @ 0xe31864
//
// 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:58 +0000
//
__int64 __fastcall sub_E35F00(__int64 a1, _QWORD *a2, unsigned __int64 a3)
{
int v6; // w19
unsigned __int8 *v7; // x3
__int64 result; // x0
switch ( *(_BYTE *)(a1 + 72) )
{
case 4:
case 8:
case 9:
case 0xC:
case 0xD:
v6 = 0;
if ( !a3 )
goto LABEL_7;
while ( 1 )
{
v7 = (unsigned __int8 *)(*a2)++;
if ( (unsigned int)sub_E3744C(a1, *v7) )
break;
if ( a3 <= (unsigned int)++v6 )
goto LABEL_7;
}
result = 1;
break;
default:
LABEL_7:
result = 0;
break;
}
return result;
}