// // sub_1002A83B0 from 0x1002a83b0 to 0x1002a8456 (166 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:27:56 +0000 // bool __fastcall sub_1002A83B0(__int64 a1, unsigned __int64 a2, __int64 a3) { unsigned __int8 v5; // r13 __int64 v6; // r12 int v7; // ebx unsigned __int64 v8; // rdi __int64 i; // rax __int64 v11; // rcx char v12; // dl unsigned __int64 v14; // [rsp+8h] [rbp-38h] v5 = *(_BYTE *)(a3 + 5); v6 = v5 >> 3; v7 = v6 * *(__int16 *)(a3 + 8) * *(__int16 *)(a3 + 6); v8 = v7 + 18LL; if ( v8 <= a2 ) { v14 = a2; memcpy(*(void **)(a3 + 16), (const void *)(a1 + 18), v7); v8 = v7 + 18LL; a2 = v14; if ( v5 >= 0x18u && v7 > 0 ) { for ( i = 0; i < v7; i += v6 ) { v11 = *(_QWORD *)(a3 + 16); v12 = *(_BYTE *)(v11 + i); *(_BYTE *)(v11 + i) = *(_BYTE *)(v11 + i + 2); *(_BYTE *)(*(_QWORD *)(a3 + 16) + i + 2) = v12; } } } return v8 <= a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source