// // sub_100643C80 from 0x100643c80 to 0x100643d0c (140 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_100643C80(__int64 a1, int a2) { __int128 *v2; // r12 __int64 v3; // r15 int v4; // eax int v5; // ebx bool v6; // cl __int64 result; // rax __int128 *v8; // r15 __int128 v9; // [rsp+0h] [rbp-30h] v2 = *(__int128 **)(a1 + 24); v3 = *(_QWORD *)(a1 + 32); v4 = *(_DWORD *)a1; v5 = a2 + 1; if ( !*(_DWORD *)a1 ) { sub_10064BC80(*(_QWORD *)(a1 + 24), v3); v4 = 1; } v6 = v4 == v5; result = v3 - (_QWORD)v2; if ( !v6 && v3 - (__int64)v2 >= 17 ) { v8 = (__int128 *)(v3 - 16); do { v9 = *v2; *v2++ = *v8; *v8 = v9; result -= 32; --v8; } while ( result > 16 ); } *(_DWORD *)a1 = v5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source