// // sub_100643FE0 from 0x100643fe0 to 0x1006440b0 (208 bytes) // // 0 xrefs: // // 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_100643FE0(int *a1, __int64 a2) { int v2; // r13d char *v4; // rax char *v5; // r14 size_t v6; // r12 int *v7; // rdi _OWORD *v8; // r15 const void *v9; // r14 _OWORD *v10; // rax int *v11; // rdi char *v13; // [rsp+0h] [rbp-30h] v2 = *a1; if ( *a1 == 1 && a1 + 4 != (int *)a2 ) { a1[4] = *(_DWORD *)a2; v4 = *(char **)(a2 + 24); v5 = *(char **)(a2 + 32); if ( v4 > v5 ) sub_1007CD710(a1); v6 = v5 - v4; if ( (unsigned __int64)(v5 - v4) <= 0x10 ) { v7 = *((int **)a1 + 5); v8 = a1 + 6; if ( v7 != a1 + 6 ) { v13 = *(char **)(a2 + 24); off_10099E668(v7); v4 = v13; } if ( v4 != v5 ) *v8 = *(_OWORD *)v4; LABEL_12: *((_QWORD *)a1 + 5) = v8; *((_QWORD *)a1 + 6) = (char *)v8 + v6; return v2 == 1; } v9 = *(const void **)(a2 + 24); v10 = (_OWORD *)off_10099E670(); if ( v10 ) { v8 = v10; memcpy(v10, v9, v6); v11 = *((int **)a1 + 5); if ( v11 != a1 + 6 ) off_10099E668(v11); goto LABEL_12; } } return v2 == 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source