//
// sub_10061CE20 from 0x10061ce20 to 0x10061cec0 (160 bytes)
//
// 1 xrefs:
// > sub_10061CA34 @ 0x10061cad8
//
// 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_10061CE20()
{
int v1; // w0
__int16 v2; // w2
int v3; // w4
if ( qword_100885A68 )
sub_100588C44((void *)qword_100885A68);
qword_100885A68 = 0;
if ( qword_100885A58 )
{
if ( (unsigned int)sub_1005D5EB4((__int64 *)qword_100885A58) )
{
qword_100885A58 = 0;
off_100885A60 = nullptr;
return 1;
}
v1 = dword_100885A54;
if ( !dword_100885A54 )
{
v1 = sub_1005E197C();
dword_100885A54 = v1;
}
v2 = 107;
v3 = 427;
}
else
{
v1 = dword_100885A54;
if ( !dword_100885A54 )
{
v1 = sub_1005E197C();
dword_100885A54 = v1;
}
v2 = 105;
v3 = 423;
}
sub_1005E0E48(v1, 101, v2, (__int64)"e_atalla.c", v3);
return 0;
}