//
// sub_10061D918 from 0x10061d918 to 0x10061d9f4 (220 bytes)
//
// 1 xrefs:
// > sub_10061D450 @ 0x10061d518
//
// 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
//
bool __fastcall sub_10061D918(int a1, int a2, int a3, char *__s)
{
int v5; // w0
__int16 v6; // w2
int v7; // w4
if ( a2 != 200 )
{
v5 = dword_100885A84;
if ( !dword_100885A84 )
{
v5 = sub_1005E197C();
dword_100885A84 = v5;
}
v6 = 104;
v7 = 482;
goto LABEL_13;
}
if ( !__s )
{
v5 = dword_100885A84;
if ( !dword_100885A84 )
{
v5 = sub_1005E197C();
dword_100885A84 = v5;
}
v6 = 67;
v7 = 471;
goto LABEL_13;
}
if ( qword_100885A90 )
{
v5 = dword_100885A84;
if ( !dword_100885A84 )
{
v5 = sub_1005E197C();
dword_100885A84 = v5;
}
v6 = 100;
v7 = 475;
LABEL_13:
sub_1005E0E48(v5, 100, v6, (__int64)"e_cswift.c", v7);
return 0;
}
if ( qword_100885A88 )
sub_100588C44((void *)qword_100885A88);
qword_100885A88 = 0;
qword_100885A88 = (__int64)sub_1005DA128(__s);
return qword_100885A88 != 0;
}