//
// sub_10061F7C0 from 0x10061f7c0 to 0x10061f89c (220 bytes)
//
// 1 xrefs:
// > sub_10061F258 @ 0x10061f2fc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 sub_10061F7C0()
{
__int64 v0; // x19
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100885AE0 )
sub_100588C44((void *)qword_100885AE0);
qword_100885AE0 = 0;
if ( qword_100885AE8 )
{
off_100885AF8(qword_100885AB0);
if ( (unsigned int)sub_1005D5EB4((__int64 *)qword_100885AE8) )
{
v0 = 1;
goto LABEL_13;
}
v1 = dword_100885AA4;
if ( !dword_100885AA4 )
{
v1 = sub_1005E197C();
dword_100885AA4 = v1;
}
v2 = 104;
v3 = 654;
}
else
{
v1 = dword_100885AA4;
if ( !dword_100885AA4 )
{
v1 = sub_1005E197C();
dword_100885AA4 = v1;
}
v2 = 107;
v3 = 648;
}
sub_1005E0E48(v1, 101, v2, (__int64)"e_chil.c", v3);
v0 = 0;
LABEL_13:
if ( qword_100885B10 )
sub_1005DA554((_DWORD *)qword_100885B10);
qword_100885AE8 = 0;
off_100885AF0 = nullptr;
off_100885AF8 = nullptr;
off_100885AC8 = nullptr;
off_100885B00 = nullptr;
off_100885B08 = nullptr;
off_100885AD0 = nullptr;
xmmword_100885AB8 = 0u;
off_100885AD8 = nullptr;
return v0;
}