// // GJGarageLayer::playRainbowEffect from 0x402c00 to 0x402d18 (280 bytes) // // 2 xrefs: // > GJGarageLayer::toggleGlow @ 0x4030de // > GJGarageLayer::onSelect @ 0x403a30 // // 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 GJGarageLayer::playRainbowEffect(GJGarageLayer *a1) { CCCircleWave *v2; // r4 CCCircleWave_vtbl *v3; // r3 void (__fastcall *setPosition)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r8 const cocos2d::CCPoint *v5; // r0 CCCircleWave *v6; // r4 CCCircleWave_vtbl *v7; // r3 void (__fastcall *v8)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r11 const cocos2d::CCPoint *v9; // r0 CCCircleWave *v10; // r4 void (__fastcall *v11)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // r6 const cocos2d::CCPoint *v12; // r0 v2 = CCCircleWave::create(4.0, 64.0, 0.5, 0); v2->m_color.g = 0; v2->m_color.b = 0; v2->m_color.r = -1; v3 = v2->__vftable; v2->m_opacityMod = 0.8; v2->m_blendAdditive = 1; setPosition = v3->setPosition; v5 = a1->m_playerObject->getPosition(a1->m_playerObject); setPosition(v2, v5); a1->addChild_0(a1, v2, -1); v2->m_lineWidth = 4; v2->m_circleMode = Outline; v6 = CCCircleWave::create(1.0, 60.0, 0.5, 0); v6->m_color.r = 0; *(_WORD *)&v6->m_color.g = 255; v7 = v6->__vftable; v6->m_opacityMod = 0.8; v6->m_blendAdditive = 1; v8 = v7->setPosition; v9 = a1->m_playerObject->getPosition(a1->m_playerObject); v8(v6, v9); a1->addChild_0(a1, v6, -1); v6->m_lineWidth = 4; v6->m_circleMode = Outline; v10 = CCCircleWave::create(20.0, 60.0, 0.5, 0); v10->m_color.r = 0; v10->m_color.g = 0; v10->m_color.b = -1; v10->m_opacityMod = 1.0; v10->m_blendAdditive = 1; v11 = v10->setPosition; v12 = a1->m_playerObject->getPosition(a1->m_playerObject); v11(v10, v12); a1->addChild_0(a1, v10, -1); v10->m_lineWidth = 4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source