// // EndLevelLayer::starEnterFinished from 0x7d4fbc to 0x7d5110 (340 bytes) // // 3 xrefs: // > @ 0x77148 // > EndLevelLayer::playStarEffect @ 0x7d3db8 // > @ 0x122bf80 // // 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 EndLevelLayer::starEnterFinished(EndLevelLayer *a1) { PlayLayer *m_playLayer; // x0 int m_levelLength; // w23 bool v4; // w2 cocos2d::CCNode *v5; // x21 CCCircleWave *v6; // x0 CCCircleWave_vtbl *v7; // x2 char v8; // w3 char v9; // w1 cocos2d::CCNode *v10; // x21 __int64 v11; // [xsp+58h] [xbp+58h] BYREF cocos2d::CCPoint v12; // [xsp+60h] [xbp+60h] BYREF m_playLayer = a1->m_playLayer; if ( m_playLayer ) { m_levelLength = m_playLayer->m_level->GJBaseGameLayer::m_levelLength; cocos2d::CCPoint::CCPoint(&v12, 0.0, 8.0); cocos2d::CCPoint::operator+(&v11, &a1->m_starsPosition, &v12); v5 = (cocos2d::CCNode *)cocos2d::CCParticleSystemQuad::create( (cocos2d::CCParticleSystemQuad *)"starEffect.plist", nullptr, v4); ((void (__fastcall *)(cocos2d::CCNode *, __int64))v5->__vftable[1].onEnter)(v5, 1); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9); v5->setPosition(v5, (const cocos2d::CCPoint *)&v11); v6 = CCCircleWave::create(10.0, 90.0, 0.4, 0); v7 = v6->__vftable; if ( m_levelLength == 5 ) v8 = -1; else v8 = 0; if ( m_levelLength == 5 ) v9 = 0; else v9 = -1; v6->m_color.b = v8; v6->m_color.r = v9; v6->m_color.g = -1; v10 = v6; ((void (*)(void))v7->setPosition)(); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v10, 9); EndLevelLayer::playEndEffect(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source