//
// EndLevelLayer::currencyEnterFinished from 0x1004c3750 to 0x1004c3849 (249 bytes)
//
// 1 xrefs:
// > EndLevelLayer::playCurrencyEffect @ 0x1004c2c1b
//
// 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 __fastcall EndLevelLayer::currencyEnterFinished(EndLevelLayer *a1)
{
cocos2d::CCParticleSystemQuad *v2; // r15
CCCircleWave *v3; // r15
double v4; // [rsp+0h] [rbp-30h] BYREF
unsigned __int64 v5[5]; // [rsp+8h] [rbp-28h] BYREF
sub_10028CBE0((float *)v5, 0.0, 8.0);
sub_10028CCE0(&v4, (unsigned __int64 *)&a1->m_orbsPosition, v5);
v2 = cocos2d::CCParticleSystemQuad::create("starEffect.plist", 0);
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v2->setAutoRemoveOnFinish)(v2, 1);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCParticleSystemQuad *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v2,
9);
((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, double *))v2->setPosition)(v2, &v4);
v3 = CCCircleWave::create_1(10.0, 90.0, 0.40000001, 0);
v3->m_color.b = 0;
*(_WORD *)&v3->m_color.r = -1;
((void (__fastcall *)(CCCircleWave *, double *))v3->setPosition)(v3, &v4);
((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v3,
9);
EndLevelLayer::playEndEffect(a1);
}