//
// sub_100747B30 from 0x100747b30 to 0x100747c00 (208 bytes)
//
// 1 xrefs:
// > sub_100747514 @ 0x1007475c8
//
// 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_100747B30()
{
__int64 v0; // x19
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100A0F6E0 )
{
off_100A0F6F0();
if ( (unsigned int)sub_1006FC01C((__int64 *)qword_100A0F6E0) )
{
v0 = 1;
goto LABEL_11;
}
v1 = dword_100A0F6A4;
if ( !dword_100A0F6A4 )
{
v1 = sub_100707AE4();
dword_100A0F6A4 = v1;
}
v2 = 104;
v3 = 598;
}
else
{
v1 = dword_100A0F6A4;
if ( !dword_100A0F6A4 )
{
v1 = sub_100707AE4();
dword_100A0F6A4 = v1;
}
v2 = 112;
v3 = 592;
}
sub_100706FB0(v1, 103, v2, (__int64)"e_sureware.c", v3);
v0 = 0;
LABEL_11:
if ( qword_100A0F6B0 )
sub_1007006BC((_DWORD *)qword_100A0F6B0);
qword_100A0F6E0 = 0;
off_100A0F6E8 = nullptr;
off_100A0F6F0 = nullptr;
off_100A0F6D0 = nullptr;
off_100A0F6D8 = nullptr;
off_100A0F6F8 = nullptr;
off_100A0F700 = nullptr;
off_100A0F708 = nullptr;
off_100A0F6B8 = nullptr;
off_100A0F6A8 = nullptr;
off_100A0F6C8 = nullptr;
off_100A0F710 = nullptr;
off_100A0F718 = nullptr;
off_100A0F6C0 = nullptr;
return v0;
}