// // EndLevelLayer::diamondEnterFinished from 0x1401369a0 to 0x140136aa7 (263 bytes) // // 2 xrefs: // > EndLevelLayer::playDiamondEffect @ 0x140136842 // > @ 0x1406ca008 // // 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) { struct cocos2d::CCParticleSystemQuad *v2; // rax _BOOL8 v3; // rdx cocos2d::CCNode *v4; // rbx CCCircleWave *v5; // rbx CCCircleWave_vtbl *v6; // r9 char v7; // [rsp+40h] [rbp+8h] BYREF cocos2d::CCPoint v8; // [rsp+48h] [rbp+10h] BYREF cocos2d::CCPoint::CCPoint(&v8, 0.0, 8.0); cocos2d::CCPoint::operator+(&a1->m_diamondsPosition, &v7); v2 = cocos2d::CCParticleSystemQuad::create("starEffect.plist", 0); LOBYTE(v3) = 1; v4 = v2; v2->setAutoRemoveOnFinish(v2, v3); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v4, 9); v4->setPosition_0(v4, (const cocos2d::CCPoint *)&v7); v5 = CCCircleWave::create(10.0, 90.0, 0.40000001, 0, 1); v6 = v5->__vftable; *(_WORD *)&v5->m_color.r = -1; v5->m_color.b = -1; v6->setPosition_0(v5, (const cocos2d::CCPoint *)&v7); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9); EndLevelLayer::playEndEffect(a1); }