//
// sub_100740AA8 from 0x100740aa8 to 0x100740b84 (220 bytes)
//
// 1 xrefs:
// > sub_100740640 @ 0x1007406e8
//
// 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:13:20 +0000
//
bool __fastcall sub_100740AA8(int a1, int a2, int a3, char *__s)
{
int v5; // w0
__int16 v6; // w2
int v7; // w4
if ( a2 != 200 )
{
v5 = dword_100A0ECF4;
if ( !dword_100A0ECF4 )
{
v5 = sub_100707AE4();
dword_100A0ECF4 = v5;
}
v6 = 102;
v7 = 388;
goto LABEL_13;
}
if ( !__s )
{
v5 = dword_100A0ECF4;
if ( !dword_100A0ECF4 )
{
v5 = sub_100707AE4();
dword_100A0ECF4 = v5;
}
v6 = 67;
v7 = 376;
goto LABEL_13;
}
if ( qword_100A0ED28 )
{
v5 = dword_100A0ECF4;
if ( !dword_100A0ECF4 )
{
v5 = sub_100707AE4();
dword_100A0ECF4 = v5;
}
v6 = 100;
v7 = 380;
LABEL_13:
sub_100706FB0(v5, 100, v6, (__int64)"e_4758cca.c", v7);
return 0;
}
if ( qword_100A0ED20 )
sub_1006AEDAC((void *)qword_100A0ED20);
qword_100A0ED20 = 0;
qword_100A0ED20 = (__int64)sub_100700290(__s);
return qword_100A0ED20 != 0;
}