//
// GJGarageLayer::playRainbowEffect from 0x140278b10 to 0x140278cfc (492 bytes)
//
// 2 xrefs:
// > GJGarageLayer::onSelect @ 0x140277613
// > ??> @ 0x1406d101c
//
// 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; // rdi
CCCircleWave_vtbl *v3; // rbx
const cocos2d::CCPoint *v4; // rax
CCCircleWave *v5; // rdi
CCCircleWave_vtbl *v6; // rbx
const cocos2d::CCPoint *v7; // rax
CCCircleWave *v8; // rdi
CCCircleWave_vtbl *v9; // rbx
const cocos2d::CCPoint *v10; // rax
v2 = CCCircleWave::create(4.0, 64.0, 0.5, 0, 1);
v3 = v2->__vftable;
*(_WORD *)&v2->m_color.r = 255;
v2->m_color.b = 0;
v2->m_blendAdditive = 1;
v2->m_opacityMod = 0.80000001;
v4 = a1->m_playerObject->getPosition_0(a1->m_playerObject);
v3->setPosition_0(v2, v4);
a1->addChild_0(a1, v2, -1);
v2->m_lineWidth = 4;
v2->m_circleMode = Outline;
v5 = CCCircleWave::create(1.0, 60.0, 0.5, 0, 1);
v6 = v5->__vftable;
*(_WORD *)&v5->m_color.r = -256;
v5->m_color.b = 0;
v5->m_blendAdditive = 1;
v5->m_opacityMod = 0.80000001;
v7 = a1->m_playerObject->getPosition_0(a1->m_playerObject);
v6->setPosition_0(v5, v7);
a1->addChild_0(a1, v5, -1);
v5->m_lineWidth = 4;
v5->m_circleMode = Outline;
v8 = CCCircleWave::create(20.0, 60.0, 0.5, 0, 1);
v9 = v8->__vftable;
*(_WORD *)&v8->m_color.r = 0;
v8->m_color.b = -1;
v8->m_blendAdditive = 1;
v8->m_opacityMod = 1.0;
v10 = a1->m_playerObject->getPosition_0(a1->m_playerObject);
v9->setPosition_0(v8, v10);
a1->addChild_0(a1, v8, -1);
v8->m_lineWidth = 4;
}