// // cocos2d::CCTextureAtlas::insertQuad from 0x80027c to 0x8002c4 (72 bytes) // // 3 xrefs: // > cocos2d::CCSpriteBatchNode::insertChild @ 0x7f28f2 // > cocos2d::CCSpriteBatchNode::appendChild @ 0x7f2ac2 // > cocos2d::CCSpriteBatchNode::insertQuadFromSprite @ 0x7f2dfc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:19 +0000 // void *__fastcall cocos2d::CCTextureAtlas::insertQuad(int a1, void *a2, int a3) { unsigned int v4; // r1 int v6; // r2 int v8; // r3 int v9; // r2 void *result; // r0 v4 = *(_DWORD *)(a1 + 84); v6 = *(_DWORD *)(a1 + 68); v8 = v6 + 1; if ( v4 < v6 + 1 ) *(_DWORD *)(a1 + 84) = v8; else *(_DWORD *)(a1 + 84) = v4; v9 = v6 - a3; *(_DWORD *)(a1 + 68) = v8; if ( v9 ) memmove((void *)(96 * a3 + 96 + *(_DWORD *)(a1 + 80)), (const void *)(*(_DWORD *)(a1 + 80) + 96 * a3), 96 * v9); result = memcpy((void *)(*(_DWORD *)(a1 + 80) + 96 * a3), a2, 0x60u); *(_BYTE *)(a1 + 64) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source