//
// EndLevelLayer::diamondEnterFinished from 0x428af0 to 0x428b96 (166 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::diamondEnterFinished(EndLevelLayer *a1)
{
bool v2; // r2
cocos2d::CCNode *v3; // r4
CCCircleWave *v4; // r0
cocos2d::CCNode *v5; // r4
_BYTE v6[8]; // [sp+4h] [bp+0h] BYREF
cocos2d::CCPoint v7; // [sp+Ch] [bp+8h] BYREF
cocos2d::CCPoint::CCPoint(&v7, 0.0, 8.0);
cocos2d::CCPoint::operator+(v6, &a1->m_diamondsPosition, &v7);
v3 = (cocos2d::CCNode *)cocos2d::CCParticleSystemQuad::create(
(cocos2d::CCParticleSystemQuad *)"starEffect.plist",
nullptr,
v2);
((void (__fastcall *)(cocos2d::CCNode *, int))v3->__vftable[1].onEnter)(v3, 1);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v3, 9);
v3->setPosition(v3, (const cocos2d::CCPoint *)v6);
v4 = CCCircleWave::create(10.0, 90.0, 0.4, 0);
v4->m_color.r = -1;
v5 = v4;
v4->m_color.g = -1;
v4->m_color.b = -1;
v4->setPosition(v4, (const cocos2d::CCPoint *)v6);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9);
EndLevelLayer::playEndEffect(a1);
}