// // sub_1006FC118 from 0x1006fc118 to 0x1006fc264 (332 bytes) // // 11 xrefs: // > sub_1006FF7D8 @ 0x1006ffb6c // > sub_1006FF7D8 @ 0x1006ffbc8 // > sub_100738CEC @ 0x100738e80 // > sub_10074082C @ 0x100740890 // > sub_100741DEC @ 0x100741e5c // > sub_100742DE0 @ 0x100742e64 // > sub_1007437F0 @ 0x10074385c // > sub_100745610 @ 0x100745698 // > sub_100746FDC @ 0x100747040 // > sub_10074775C @ 0x1007477f4 // > sub_100749338 @ 0x1007493b0 // // 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:12:45 +0000 // __int64 *__fastcall sub_1006FC118(__int64 *a1, char *__s, __int64 a3, int a4) { __int64 *v6; // x19 int v7; // w21 __int64 *v8; // x0 __int64 v9; // x2 __int64 v10; // x4 unsigned int (__fastcall *v11)(__int64 *); // x8 v6 = a1; if ( a1 ) { v7 = 0; } else { v8 = (__int64 *)sub_1006FBF2C(a3); v6 = v8; if ( !v8 ) { sub_100706FB0(37, 112, 65, "dso_lib.c", 198); return nullptr; } *((_DWORD *)v8 + 5) = a4; v7 = 1; } if ( v6[7] ) { v9 = 110; v10 = 211; goto LABEL_17; } if ( !__s ) goto LABEL_13; if ( !(unsigned int)sub_1006FC264((int)v6, __s) ) { v9 = 112; v10 = 220; goto LABEL_17; } if ( !v6[7] ) { LABEL_13: v9 = 111; v10 = 225; goto LABEL_17; } v11 = *(unsigned int (__fastcall **)(__int64 *))(*v6 + 8); if ( !v11 ) { v9 = 108; v10 = 229; LABEL_17: sub_100706FB0(37, 112, v9, "dso_lib.c", v10); if ( v7 ) sub_1006FC01C(v6); return nullptr; } if ( !v11(v6) ) { v9 = 103; v10 = 233; goto LABEL_17; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source