// // sub_1007208B0 from 0x1007208b0 to 0x10072093c (140 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:13 +0000 // __int64 __fastcall sub_1007208B0(__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_1007288B0(*(_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