// // sub_100643B30 from 0x100643b30 to 0x100643bda (170 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 // __int64 __fastcall sub_100643B30(__int64 a1, __int64 a2) { char *v3; // r12 char *v4; // r13 __int64 v5; // rdi _OWORD *v6; // r15 _OWORD *v7; // rax __int64 v8; // rdi if ( a1 != a2 ) { *(_DWORD *)a1 = *(_DWORD *)a2; v3 = *(char **)(a2 + 24); v4 = *(char **)(a2 + 32); if ( v3 > v4 ) sub_1007CD620(a1); if ( (unsigned __int64)(v4 - v3) <= 0x10 ) { v5 = *(_QWORD *)(a1 + 24); v6 = (_OWORD *)(a1 + 8); if ( v5 != a1 + 8 ) off_10099E668(v5); if ( v3 != v4 ) *v6 = *(_OWORD *)v3; LABEL_11: *(_QWORD *)(a1 + 24) = v6; *(_QWORD *)(a1 + 32) = (char *)v6 + v4 - v3; return a1; } v7 = (_OWORD *)off_10099E670(); if ( v7 ) { v6 = v7; memcpy(v7, v3, v4 - v3); v8 = *(_QWORD *)(a1 + 24); if ( v8 != a1 + 8 ) off_10099E668(v8); goto LABEL_11; } } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source