// // sub_10061F89C from 0x10061f89c to 0x10061fc14 (888 bytes) // // 1 xrefs: // > sub_10061F258 @ 0x10061f310 // // 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_10061F89C(int a1, int a2, __int64 a3, char *__s, __int64 a5) { int v8; // w0 __int16 v9; // w2 int v10; // w4 __int64 v11; // x9 __int64 v12; // x3 __int64 v13; // x19 int v15; // w0 if ( a2 > 199 ) { switch ( a2 ) { case 200: if ( qword_100885AE8 ) { v8 = dword_100885AA4; if ( !dword_100885AA4 ) { v8 = sub_1005E197C(); dword_100885AA4 = v8; } v9 = 100; v10 = 683; goto LABEL_22; } if ( __s ) { if ( qword_100885AE0 ) sub_100588C44((void *)qword_100885AE0); qword_100885AE0 = 0; qword_100885AE0 = (__int64)sub_1005DA128(__s); return qword_100885AE0 != 0; } v8 = dword_100885AA4; if ( !dword_100885AA4 ) { v8 = sub_1005E197C(); dword_100885AA4 = v8; } v9 = 67; v10 = 687; break; case 201: goto LABEL_14; case 202: sub_100588190(9, 30, (__int64)"e_chil.c", 750); dword_100885AA8 = a3 != 0; v12 = 752; goto LABEL_27; case 203: LABEL_23: sub_100588190(9, 30, (__int64)"e_chil.c", 714); qword_100885B20 = (__int64)__s; v12 = 716; goto LABEL_27; case 204: LABEL_24: sub_100588190(9, 30, (__int64)"e_chil.c", 720); qword_100885B28 = (__int64)__s; v12 = 722; goto LABEL_27; default: goto LABEL_19; } goto LABEL_22; } if ( a2 <= 99 ) { switch ( a2 ) { case 1: sub_100588190(9, 30, (__int64)"e_chil.c", 695); if ( qword_100885B10 ) { sub_1005DA554((_DWORD *)qword_100885B10); qword_100885B10 = 0; } if ( (int)sub_100588508((_DWORD *)__s + 18, 1, 21, (__int64)"e_chil.c", 700) < 2 ) { v15 = dword_100885AA4; if ( !dword_100885AA4 ) { v15 = sub_1005E197C(); dword_100885AA4 = v15; } sub_1005E0E48(v15, 100, 101, (__int64)"e_chil.c", 703); } else { qword_100885B10 = (__int64)__s; } v12 = 705; goto LABEL_27; case 2: sub_100588190(9, 30, (__int64)"e_chil.c", 708); qword_100885B18 = a5; v12 = 710; goto LABEL_27; case 4: goto LABEL_23; case 5: goto LABEL_24; default: goto LABEL_19; } } if ( a2 != 100 ) { if ( a2 == 101 ) { sub_100588190(9, 30, (__int64)"e_chil.c", 745); v13 = 1; dword_100885AA8 = 1; sub_100588190(10, 30, (__int64)"e_chil.c", 747); return v13; } LABEL_19: v8 = dword_100885AA4; if ( !dword_100885AA4 ) { v8 = sub_1005E197C(); dword_100885AA4 = v8; } v9 = 103; v10 = 758; LABEL_22: sub_1005E0E48(v8, 100, v9, (__int64)"e_chil.c", v10); return 0; } LABEL_14: sub_100588190(9, 30, (__int64)"e_chil.c", 730); v11 = qword_100868AF0 | 0x10; if ( !a3 ) v11 = qword_100868AF0 & 0xFFFFFFFFFFFFFFEFLL; qword_100868AF0 = v11; v12 = 735; LABEL_27: sub_100588190(10, 30, (__int64)"e_chil.c", v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source