// // sub_1007187A0 from 0x1007187a0 to 0x100718870 (208 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:36:09 +0000 // __int64 __fastcall sub_1007187A0(__int64 **a1, const char *a2) { __int64 *v2; // rax __int64 v5; // rax __int64 v6; // rcx unsigned __int64 v7; // rax __int64 **v8; // rdi __int64 v9; // rcx __int64 v10; // rsi __int64 *v11; // rax __int64 result; // rax __int64 v13; // r15 __int64 *v14; // rcx __int64 v15; // rdx __int64 *v16; // rsi __int64 *v17; // [rsp-28h] [rbp-28h] BYREF v2 = *a1; if ( !*a1 ) return 0; v17 = *a1; v5 = *v2; v6 = v5 & 7; if ( v6 != 6 && (_DWORD)v6 != 1 ) return 0; v7 = v5 & 0xFFFFFFFFFFFFFFE0LL; v8 = *(__int64 ***)v7; v9 = *(_QWORD *)(*(_QWORD *)v7 + 8LL); if ( (unsigned __int64)(v9 + 40) < 0x8001 ) { v11 = *v8; v10 = (__int64)*v8 + v9 + 48; v8[1] = (__int64 *)(v9 + 40); } else { v10 = sub_100724BD0(v8, 40, &v17); v11 = v17; } *(_QWORD *)v10 = v11; *(_OWORD *)(v10 + 8) = 0; *(_OWORD *)(v10 + 24) = 0; v13 = v10; sub_100717DB0((const char **)(v10 + 8), (__int64 *)v10, 16, a2); v14 = *a1; v15 = (*a1)[7]; if ( v15 ) { v16 = (__int64 *)(v15 + 24); result = v13; *(_QWORD *)(v13 + 24) = *(_QWORD *)(v15 + 24); } else { result = v10; v16 = (__int64 *)(v10 + 24); } *v16 = result; *(_QWORD *)(result + 32) = v15; v14[7] = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source