//
// sub_1007470C8 from 0x1007470c8 to 0x100747168 (160 bytes)
//
// 1 xrefs:
// > sub_100746D98 @ 0x100746e3c
//
// 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:23 +0000
//
__int64 sub_1007470C8()
{
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100A0F698 )
sub_1006AEDAC((void *)qword_100A0F698);
qword_100A0F698 = 0;
if ( qword_100A0F688 )
{
if ( (unsigned int)sub_1006FC01C((__int64 *)qword_100A0F688) )
{
qword_100A0F688 = 0;
off_100A0F690 = nullptr;
return 1;
}
v1 = dword_100A0F684;
if ( !dword_100A0F684 )
{
v1 = sub_100707AE4();
dword_100A0F684 = v1;
}
v2 = 102;
v3 = 160;
}
else
{
v1 = dword_100A0F684;
if ( !dword_100A0F684 )
{
v1 = sub_100707AE4();
dword_100A0F684 = v1;
}
v2 = 105;
v3 = 156;
}
sub_100706FB0(v1, 101, v2, (__int64)"e_nuron.c", v3);
return 0;
}