// // cocos2d::CCSpriteBatchNode::updateQuadFromSprite from 0x5e8588 to 0x5e85ec (100 bytes) // // 0 xrefs: // // 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::updateQuadFromSprite( cocos2d::CCSpriteBatchNode *a1, cocos2d::CCSprite *a2, unsigned int a3) { unsigned int v6; // r7 cocos2d::CCSprite_vtbl *v7; // r3 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); v7 = a2->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a2->m_uAtlasIndex = a3; v7->setDirty(a2, 1); a2->updateTransform(a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source