// // sub_14011A210 from 0x14011a210 to 0x14011a358 (328 bytes) // // 6 xrefs: // > sub_1401197E0 @ 0x1401198bf // > sub_14011BAE0 @ 0x14011bb7e // > sub_14011BAE0 @ 0x14011bbbc // > @ 0x1408971a4 // > @ 0x1408971dc // > @ 0x140916184 // // 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 11:26:54 +0000 // void *__fastcall sub_14011A210(char *Src, char *a2, char *a3, __int64 a4, __int64 a5, void *a6, __int64 a7, _QWORD *a8) { char *v9; // r10 char *v10; // rbx void *result; // rax __int64 v12; // r12 __int64 v13; // rbp __int64 v14; // r14 char *v16; // rsi __int64 v17; // r15 size_t v18; // rsi if ( a2 != a3 ) { v9 = a3; v10 = Src; if ( Src != a2 ) { result = a8; v12 = *(int *)a2; v13 = a8[40]; while ( 1 ) { v14 = *(int *)v10; if ( *(_DWORD *)(v13 + 80 * v12 + 48) > *(_DWORD *)(v13 + 80 * v14 + 48) ) break; v10 += 4; --a4; if ( v10 == a2 ) return result; } do { v16 = v9; v17 = a5; v9 -= 4; --a5; if ( a2 == v9 ) { result = memmove(&v9[-(a2 - v10) + 4], v10, a2 - v10); *(_DWORD *)v10 = v12; return result; } } while ( *(_DWORD *)(v13 + 80LL * *(int *)v9 + 48) <= *(_DWORD *)(v13 + 80LL * *((int *)a2 - 1) + 48) ); if ( a4 == 1 ) { v18 = v16 - a2; result = memmove(v10, a2, v18); *(_DWORD *)&v10[v18] = v14; } else { return (void *)sub_14011AE80(v10, a2, v17, a6, a7, (__int64)a8); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source