//
// sub_100697454 from 0x100697454 to 0x1006974d8 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009b1ae8
//
// 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 11:11:35 +0000
//
__int64 __fastcall sub_100697454(__int64 *a1)
{
__int64 v2; // x20
char *v3; // x0
int v4; // w0
v2 = *a1;
*((_DWORD *)a1 + 43) = 2;
v3 = strstr(*(char **)(v2 + 35584), ";mode=");
if ( v3 || (v3 = strstr((char *)a1[22], ";mode=")) != nullptr )
{
*v3 = 0;
v4 = sub_10069A104((unsigned int)v3[6]);
*(_BYTE *)(v2 + 1299) = v4 == 65 || v4 == 78;
}
return 0;
}