// // EndLevelLayer::starEnterFinished from 0x428954 to 0x428a1e (202 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 EndLevelLayer::starEnterFinished(EndLevelLayer *a1) { PlayLayer *m_playLayer; // r2 int m_levelLength; // r8 bool v4; // r2 cocos2d::CCNode *v5; // r4 CCCircleWave *v6; // r0 char v7; // r3 char v8; // r2 cocos2d::CCNode *v9; // r4 CCCircleWave_vtbl *v10; // r3 cocos2d::CCPoint v11; // [sp+4h] [bp-14h] BYREF cocos2d::CCPoint v12; // [sp+Ch] [bp-Ch] 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 *, int))v5->__vftable[1].onEnter)(v5, 1); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9); v5->setPosition(v5, &v11); v6 = CCCircleWave::create(10.0, 90.0, 0.4, 0); if ( m_levelLength == 5 ) v7 = -1; else v7 = 0; if ( m_levelLength == 5 ) v8 = 0; else v8 = -1; v6->m_color.b = v7; v9 = v6; v10 = v6->__vftable; v6->m_color.r = v8; v6->m_color.g = -1; v10->setPosition(v6, &v11); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v9, 9); EndLevelLayer::playEndEffect(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source