// // cocos2d::CCTextureAtlas::insertQuadFromIndex from 0x1004a6de0 to 0x1004a6ec4 (228 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:30:55 +0000 // void __fastcall cocos2d::CCTextureAtlas::insertQuadFromIndex(__int64 a1, unsigned int a2, unsigned int a3) { __int64 v4; // rax __int64 v5; // rcx __int64 v6; // r8 __int64 v7; // rdx __int64 v8; // rsi __int64 v9; // rax __int64 v10; // rcx __int128 v11; // [rsp-78h] [rbp-78h] __int128 v12; // [rsp-68h] [rbp-68h] __int128 v13; // [rsp-58h] [rbp-58h] __int128 v14; // [rsp-48h] [rbp-48h] __int128 v15; // [rsp-38h] [rbp-38h] __int128 v16; // [rsp-28h] [rbp-28h] if ( a2 != a3 ) { v4 = a3 + 1; v5 = a2 - a3; if ( a2 <= a3 ) v4 = a2; v6 = a2 + 1; if ( a2 > a3 ) v6 = a3; v7 = *(_QWORD *)(a1 + 96); v8 = 96LL * a2; v16 = *(_OWORD *)(v7 + v8 + 80); v15 = *(_OWORD *)(v7 + v8 + 64); v14 = *(_OWORD *)(v7 + v8 + 48); v13 = *(_OWORD *)(v7 + v8 + 32); v12 = *(_OWORD *)(v7 + v8 + 16); v11 = *(_OWORD *)(v7 + v8); memmove((void *)(v7 + 96 * v4), (const void *)(v7 + 96 * v6), 96 * v5); v9 = *(_QWORD *)(a1 + 96); v10 = 96LL * a3; *(_OWORD *)(v9 + v10) = v11; *(_OWORD *)(v9 + v10 + 16) = v12; *(_OWORD *)(v9 + v10 + 32) = v13; *(_OWORD *)(v9 + v10 + 48) = v14; *(_OWORD *)(v9 + v10 + 64) = v15; *(_OWORD *)(v9 + v10 + 80) = v16; *(_BYTE *)(a1 + 76) = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source