//
// sub_1007421A4 from 0x1007421a4 to 0x100742280 (220 bytes)
//
// 1 xrefs:
// > sub_100741BF4 @ 0x100741cb4
//
// 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:21 +0000
//
bool __fastcall sub_1007421A4(int a1, int a2, int a3, char *__s)
{
int v5; // w0
__int16 v6; // w2
int v7; // w4
if ( a2 != 200 )
{
v5 = dword_100A0ED44;
if ( !dword_100A0ED44 )
{
v5 = sub_100707AE4();
dword_100A0ED44 = v5;
}
v6 = 103;
v7 = 596;
goto LABEL_13;
}
if ( !__s )
{
v5 = dword_100A0ED44;
if ( !dword_100A0ED44 )
{
v5 = sub_100707AE4();
dword_100A0ED44 = v5;
}
v6 = 67;
v7 = 585;
goto LABEL_13;
}
if ( qword_100A0ED50 )
{
v5 = dword_100A0ED44;
if ( !dword_100A0ED44 )
{
v5 = sub_100707AE4();
dword_100A0ED44 = v5;
}
v6 = 100;
v7 = 589;
LABEL_13:
sub_100706FB0(v5, 100, v6, (__int64)"e_aep.c", v7);
return 0;
}
if ( qword_100A0ED90 )
sub_1006AEDAC((void *)qword_100A0ED90);
qword_100A0ED90 = 0;
qword_100A0ED90 = (__int64)sub_100700290(__s);
return qword_100A0ED90 != 0;
}