// // cocos2d::CCGridAction::startWithTarget from 0x5b2f90 to 0x5b301c (140 bytes) // // 4 xrefs: // > cocos2d::CCSplitRows::startWithTarget @ 0x5baea8 // > cocos2d::CCSplitCols::startWithTarget @ 0x5baee8 // > cocos2d::CCShuffleTiles::startWithTarget @ 0x5bb902 // > cocos2d::CCTurnOffTiles::startWithTarget @ 0x5bbf56 // // 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::CCGridAction::startWithTarget(cocos2d::CCGridAction *a1, cocos2d::CCNode *a2) { cocos2d::CCGridBase *v3; // r0 cocos2d::CCNode *m_pTarget; // r4 cocos2d::CCGridBase *v5; // r6 cocos2d::CCGridBase *v6; // r0 cocos2d::CCGridBase *v7; // r0 cocos2d::CCActionInterval::startWithTarget(a1, a2); v3 = a1->getGrid(a1); m_pTarget = a1->m_pTarget; v5 = v3; v6 = m_pTarget->getGrid(m_pTarget); if ( !v6 ) goto LABEL_5; if ( v6->m_nReuseGrid <= 0 ) { if ( v6->m_bActive ) cocos2d::CCGridBase::setActive(v6, 0); LABEL_5: m_pTarget->setGrid(m_pTarget, v5); v7 = m_pTarget->getGrid(m_pTarget); cocos2d::CCGridBase::setActive(v7, 1); return; } if ( v6->m_bActive && v6->m_sGridSize.width == *(float *)&a1[1].__vftable && v6->m_sGridSize.height == *(float *)&a1[1].m_uID ) { v6->reuse(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source