//
// sub_1007409F4 from 0x1007409f4 to 0x100740aa8 (180 bytes)
//
// 1 xrefs:
// > sub_100740640 @ 0x1007406d4
//
// 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
//
__int64 sub_1007409F4()
{
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100A0ED20 )
sub_1006AEDAC((void *)qword_100A0ED20);
qword_100A0ED20 = 0;
if ( qword_100A0ED28 )
{
if ( (unsigned int)sub_1006FC01C((__int64 *)qword_100A0ED28) )
{
qword_100A0ED28 = 0;
off_100A0ED30 = nullptr;
off_100A0ED08 = nullptr;
off_100A0ED10 = nullptr;
off_100A0ED38 = nullptr;
xmmword_100A0ECF8 = 0u;
off_100A0ED18 = nullptr;
return 1;
}
v1 = dword_100A0ECF4;
if ( !dword_100A0ECF4 )
{
v1 = sub_100707AE4();
dword_100A0ECF4 = v1;
}
v2 = 108;
v3 = 351;
}
else
{
v1 = dword_100A0ECF4;
if ( !dword_100A0ECF4 )
{
v1 = sub_100707AE4();
dword_100A0ECF4 = v1;
}
v2 = 106;
v3 = 347;
}
sub_100706FB0(v1, 101, v2, (__int64)"e_4758cca.c", v3);
return 0;
}