//
// sub_1007439C0 from 0x1007439c0 to 0x100743a80 (192 bytes)
//
// 1 xrefs:
// > sub_1007435B8 @ 0x10074366c
//
// 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
//
__int64 sub_1007439C0()
{
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100A0F5D8 )
sub_1006AEDAC((void *)qword_100A0F5D8);
qword_100A0F5D8 = 0;
if ( qword_100A0F5E0 )
{
if ( (unsigned int)sub_1006FC01C((__int64 *)qword_100A0F5E0) )
{
qword_100A0F5E0 = 0;
off_100A3B378 = nullptr;
off_100A3B380 = nullptr;
off_100A3B388 = nullptr;
off_100A3B390 = nullptr;
return 1;
}
v1 = dword_100A0F5D4;
if ( !dword_100A0F5D4 )
{
v1 = sub_100707AE4();
dword_100A0F5D4 = v1;
}
v2 = 108;
v3 = 454;
}
else
{
v1 = dword_100A0F5D4;
if ( !dword_100A0F5D4 )
{
v1 = sub_100707AE4();
dword_100A0F5D4 = v1;
}
v2 = 106;
v3 = 450;
}
sub_100706FB0(v1, 103, v2, (__int64)"e_cswift.c", v3);
return 0;
}