// // cocos2d::CCTextureAtlas::insertQuad from 0x1004a6b50 to 0x1004a6bff (175 bytes) // // 3 xrefs: // > cocos2d::CCSpriteBatchNode::appendChild @ 0x100155e14 // > cocos2d::CCSpriteBatchNode::insertChild @ 0x100157178 // > cocos2d::CCSpriteBatchNode::insertQuadFromSprite @ 0x100157520 // // 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 // __int64 __fastcall cocos2d::CCTextureAtlas::insertQuad(__int64 a1, __int128 *a2, unsigned int a3) { int v4; // eax unsigned int v5; // ecx unsigned int v6; // edi unsigned int v7; // eax __int64 v8; // r15 __int64 result; // rax __int64 v10; // rcx __int128 v11; // xmm0 __int128 v12; // xmm1 __int128 v13; // xmm2 v4 = *(_DWORD *)(a1 + 80); v5 = *(_DWORD *)(a1 + 104); v6 = v4 + 1; *(_DWORD *)(a1 + 80) = v4 + 1; if ( v5 > v4 + 1 ) v6 = v5; *(_DWORD *)(a1 + 104) = v6; v7 = v4 - a3; v8 = a3; if ( v7 ) memmove( (void *)(*(_QWORD *)(a1 + 96) + 96LL * (a3 + 1)), (const void *)(*(_QWORD *)(a1 + 96) + 96LL * a3), 96LL * v7); result = *(_QWORD *)(a1 + 96); v10 = 96 * v8; *(_OWORD *)(result + v10 + 80) = a2[5]; *(_OWORD *)(result + v10 + 64) = a2[4]; v11 = *a2; v12 = a2[1]; v13 = a2[2]; *(_OWORD *)(result + v10 + 48) = a2[3]; *(_OWORD *)(result + v10 + 32) = v13; *(_OWORD *)(result + v10 + 16) = v12; *(_OWORD *)(result + v10) = v11; *(_BYTE *)(a1 + 76) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source