// // CCSpritePlus::setFlipX from 0x5a8298 to 0x5a8340 (168 bytes) // // 4 xrefs: // > @ 0xa86c0 // > @ 0x1139dc8 // > @ 0x1142fc8 // > @ 0x11aab88 // // 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 CCSpritePlus::setFlipX(CCSpritePlus *a1, bool a2) { cocos2d::CCArray *m_pChildren; // x0 unsigned int v5; // w19 cocos2d::CCSprite *v6; // x0 bool v7; // cf unsigned int v8; // w1 unsigned int v9; // w19 cocos2d::CCSprite *v10; // x0 unsigned int v11; // w1 cocos2d::CCSprite::setFlipX(a1, a2); if ( a1->m_propagateFlipChanges ) { m_pChildren = a1->m_pChildren; if ( m_pChildren ) { v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(m_pChildren); v8 = v5++; if ( v7 ) break; v6 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(a1->m_pChildren, v8); cocos2d::CCSprite::setFlipX(v6, a2); m_pChildren = a1->m_pChildren; } } } v9 = 0; if ( a1->m_hasFollower ) { while ( 1 ) { v7 = v9 >= (unsigned int)cocos2d::CCArray::count(a1->m_followers); v11 = v9++; if ( v7 ) break; v10 = (cocos2d::CCSprite *)cocos2d::CCArray::objectAtIndex(a1->m_followers, v11); cocos2d::CCSprite::setFlipX(v10, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source