// // cocos2d::CCSpriteBatchNode::insertQuadFromSprite from 0x5e84e8 to 0x5e8584 (156 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::insertTileForGID @ 0x5f7a0c // > cocos2d::CCTMXLayer::appendTileForGID @ 0x5f7c52 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCSpriteBatchNode::insertQuadFromSprite( cocos2d::CCSpriteBatchNode *a1, cocos2d::CCSprite *a2, unsigned int a3) { unsigned int v6; // r8 cocos2d::ccV3F_C4B_T2F_Quad *v7; // r0 _BYTE v8[96]; // [sp+4h] [bp-64h] BYREF while ( 1 ) { if ( a3 < a1->m_pobTextureAtlas->getCapacity(a1->m_pobTextureAtlas) ) { v6 = a1->m_pobTextureAtlas->getCapacity(a1->m_pobTextureAtlas); if ( v6 != a1->m_pobTextureAtlas->getTotalQuads(a1->m_pobTextureAtlas) ) break; } cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1); } a2->setBatchNode(a2, a1); a2->m_uAtlasIndex = a3; v7 = (cocos2d::ccV3F_C4B_T2F_Quad *)memcpy(v8, &a2->m_sQuad, sizeof(v8)); cocos2d::CCTextureAtlas::insertQuad(a1->m_pobTextureAtlas, v7, a3); a2->setDirty(a2, 1); a2->updateTransform(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source