// // GJGarageLayer::playRainbowEffect from 0x7917d0 to 0x79198c (444 bytes) // // 3 xrefs: // > GJGarageLayer::toggleGlow @ 0x791f68 // > GJGarageLayer::onSelect @ 0x792b70 // > @ 0x980a0 // // 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; // x0 cocos2d::CCNode *v3; // x19 CCCircleWave_vtbl *v4; // x2 SimplePlayer *m_playerObject; // x1 SimplePlayer *v6; // x0 void (__fastcall *setPosition)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // x26 const cocos2d::CCPoint *(__fastcall *getPosition)(cocos2d::CCNode *__hidden); // x1 __int64 v9; // x0 CCCircleWave *v10; // x0 cocos2d::CCNode *v11; // x19 CCCircleWave_vtbl *v12; // x2 SimplePlayer *v13; // x1 void (__fastcall *v14)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // x25 __int64 v15; // x0 CCCircleWave *v16; // x0 cocos2d::CCNode *v17; // x19 CCCircleWave_vtbl *v18; // x2 SimplePlayer *v19; // x1 void (__fastcall *v20)(CCCircleWave *__hidden, const cocos2d::CCPoint *); // x22 __int64 v21; // x0 v2 = CCCircleWave::create(4.0, 64.0, 0.5, 0); v2->m_color.r = -1; v3 = v2; v2->m_color.g = 0; v2->m_color.b = 0; v4 = v2->__vftable; m_playerObject = a1->m_playerObject; v2->m_blendAdditive = 1; v6 = m_playerObject; setPosition = v4->setPosition; getPosition = m_playerObject->getPosition; v3[1].m_unknown2 = 1061997773; v9 = (__int64)getPosition(v6); setPosition((CCCircleWave *)v3, (const cocos2d::CCPoint *)v9); a1->addChild_0(a1, v3, -1); v3[1].m_uUnknown = 4; v3[1].m_uIndexInArray = 1; v10 = CCCircleWave::create(1.0, 60.0, 0.5, 0); v10->m_color.g = -1; v10->m_color.r = 0; v11 = v10; v10->m_color.b = 0; v12 = v10->__vftable; v13 = a1->m_playerObject; v10->m_opacityMod = 0.8; v10->m_blendAdditive = 1; v14 = v12->setPosition; v15 = (__int64)v13->getPosition(v13); v14((CCCircleWave *)v11, (const cocos2d::CCPoint *)v15); a1->addChild_0(a1, v11, -1); v11[1].m_uUnknown = 4; v11[1].m_uIndexInArray = 1; v16 = CCCircleWave::create(20.0, 60.0, 0.5, 0); v16->m_color.r = 0; v16->m_color.g = 0; v17 = v16; v16->m_color.b = -1; v16->m_opacityMod = 1.0; v18 = v16->__vftable; v19 = a1->m_playerObject; v16->m_blendAdditive = 1; v20 = v18->setPosition; v21 = (__int64)v19->getPosition(v19); v20((CCCircleWave *)v17, (const cocos2d::CCPoint *)v21); a1->addChild_0(a1, v17, -1); v17[1].m_uUnknown = 4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source