//
// sub_E1725C from 0xe1725c to 0xe17318 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x13fc2b8
//
// 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:42 +0000
//
__int64 __fastcall sub_E1725C(__int64 *a1)
{
__int64 v2; // x21
char *v3; // x1
__int64 v4; // x0
char v5; // w0
v2 = *a1;
*((_DWORD *)a1 + 43) = 2;
v3 = strstr(*(const char **)(v2 + 36032), ";mode=");
if ( !v3 )
{
v3 = strstr((const char *)a1[22], ";mode=");
if ( !v3 )
return 0;
}
v4 = (unsigned __int8)v3[6];
*v3 = 0;
v5 = sub_E0A67C(v4);
if ( v5 == 65 || v5 == 78 )
{
*(_BYTE *)(v2 + 1555) = 1;
return 0;
}
else
{
*(_BYTE *)(v2 + 1555) = 0;
return 0;
}
}