{"type": "func", "start": 8213060, "end": 8213352, "name": "EndLevelLayer::diamondEnterFinished", "pseudocode": "// \n// EndLevelLayer::diamondEnterFinished from 0x7d5244 to 0x7d5368 (292 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x72858\n// > EndLevelLayer::playDiamondEffect @ 0x7d498c\n// > <???> @ 0x122bc88\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EndLevelLayer::diamondEnterFinished(EndLevelLayer *a1)\n{\n  bool v2; // w2\n  cocos2d::CCNode *v3; // x19\n  CCCircleWave *v4; // x0\n  CCCircleWave_vtbl *v5; // x3\n  cocos2d::CCNode *v6; // x19\n  __int64 v7; // [xsp+48h] [xbp+48h] BYREF\n  cocos2d::CCPoint v8; // [xsp+50h] [xbp+50h] BYREF\n\n  cocos2d::CCPoint::CCPoint(&v8, 0.0, 8.0);\n  cocos2d::CCPoint::operator+(&v7, &a1->m_diamondsPosition, &v8);\n  v3 = (cocos2d::CCNode *)cocos2d::CCParticleSystemQuad::create(\n                            (cocos2d::CCParticleSystemQuad *)\"starEffect.plist\",\n                            nullptr,\n                            v2);\n  ((void (__fastcall *)(cocos2d::CCNode *, __int64))v3->__vftable[1].onEnter)(v3, 1);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v3, 9);\n  v3->setPosition(v3, (const cocos2d::CCPoint *)&v7);\n  v4 = CCCircleWave::create(10.0, 90.0, 0.4, 0);\n  v5 = v4->__vftable;\n  v4->m_color.r = -1;\n  v4->m_color.g = -1;\n  v4->m_color.b = -1;\n  v6 = v4;\n  v5->setPosition(v4, (const cocos2d::CCPoint *)&v7);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v6, 9);\n  EndLevelLayer::playEndEffect(a1);\n}", "assembly": "; \n; EndLevelLayer::diamondEnterFinished from 0x7d5244 to 0x7d5368 (292 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x72858\n; > EndLevelLayer::playDiamondEffect @ 0x7d498c\n; > <???> @ 0x122bc88\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x7d5244\nFMOV            S0, WZR; float                                         ; +0x4, 0x7d5248\nMOV             X29, SP                                                ; +0x8, 0x7d524c\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0xc, 0x7d5250\nADRP            X21, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x7d5254\nADD             X1, X29, #0x60+var_10                                  ; +0x14, 0x7d5258\nFMOV            S1, #8.0; float                                        ; +0x18, 0x7d525c\nMOV             X22, X0                                                ; +0x1c, 0x7d5260\nMOV             X0, X1; this                                           ; +0x20, 0x7d5264\nSTR             X1, [X29,#0x60+var_28]                                 ; +0x24, 0x7d5268\nLDR             X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x7d526c\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x2c, 0x7d5270\nADD             X20, X29, #0x60+var_18                                 ; +0x30, 0x7d5274\nLDR             X2, [X21]                                              ; +0x34, 0x7d5278\nSTR             X2, [X29,#0x60+var_8]                                  ; +0x38, 0x7d527c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3c, 0x7d5280\nLDR             X1, [X29,#0x60+var_28]                                 ; +0x40, 0x7d5284\nMOV             X8, X20                                                ; +0x44, 0x7d5288\nADD             X0, X22, #0x290                                        ; +0x48, 0x7d528c\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x4c, 0x7d5290\nADRP            X0, #aStareffectPlis@PAGE; \"starEffect.plist\"          ; +0x50, 0x7d5294\nMOV             W1, #0; char *                                         ; +0x54, 0x7d5298\nADD             X0, X0, #aStareffectPlis@PAGEOFF; \"starEffect.plist\"   ; +0x58, 0x7d529c\nBL              _ZN7cocos2d20CCParticleSystemQuad6createEPKcb; cocos2d::CCParticleSystemQuad::create(char const*,bool) ; +0x5c, 0x7d52a0\nLDR             X2, [X0]                                               ; +0x60, 0x7d52a4\nMOV             W1, #1                                                 ; +0x64, 0x7d52a8\nMOV             X19, X0                                                ; +0x68, 0x7d52ac\nLDR             X2, [X2,#0x620]                                        ; +0x6c, 0x7d52b0\nBLR             X2                                                     ; +0x70, 0x7d52b4\nLDR             X3, [X22,#0x240]                                       ; +0x74, 0x7d52b8\nMOV             X1, X19                                                ; +0x78, 0x7d52bc\nMOV             W2, #9                                                 ; +0x7c, 0x7d52c0\nMOV             X0, X3                                                 ; +0x80, 0x7d52c4\nLDR             X3, [X3]                                               ; +0x84, 0x7d52c8\nLDR             X3, [X3,#0x1C0]                                        ; +0x88, 0x7d52cc\nBLR             X3                                                     ; +0x8c, 0x7d52d0\nLDR             X2, [X19]                                              ; +0x90, 0x7d52d4\nMOV             X1, X20                                                ; +0x94, 0x7d52d8\nMOV             X0, X19                                                ; +0x98, 0x7d52dc\nLDR             X2, [X2,#0xB8]                                         ; +0x9c, 0x7d52e0\nBLR             X2                                                     ; +0xa0, 0x7d52e4\nLDR             S1, flt_7D5368; float                                  ; +0xa4, 0x7d52e8\nMOV             W0, #0; this                                           ; +0xa8, 0x7d52ec\nLDR             S2, flt_7D536C; float                                  ; +0xac, 0x7d52f0\nFMOV            S0, #10.0; float                                       ; +0xb0, 0x7d52f4\nBL              _ZN12CCCircleWave6createEfffb; CCCircleWave::create(float,float,float,bool) ; +0xb4, 0x7d52f8\nLDR             X3, [X0]                                               ; +0xb8, 0x7d52fc\nMOV             W2, #0xFFFFFFFF                                        ; +0xbc, 0x7d5300\nSTRB            W2, [X0,#0x154]                                        ; +0xc0, 0x7d5304\nSTRB            W2, [X0,#0x155]                                        ; +0xc4, 0x7d5308\nMOV             X1, X20                                                ; +0xc8, 0x7d530c\nSTRB            W2, [X0,#0x156]                                        ; +0xcc, 0x7d5310\nMOV             X19, X0                                                ; +0xd0, 0x7d5314\nLDR             X2, [X3,#0xB8]                                         ; +0xd4, 0x7d5318\nBLR             X2                                                     ; +0xd8, 0x7d531c\nLDR             X3, [X22,#0x240]                                       ; +0xdc, 0x7d5320\nMOV             X1, X19                                                ; +0xe0, 0x7d5324\nMOV             W2, #9                                                 ; +0xe4, 0x7d5328\nMOV             X0, X3                                                 ; +0xe8, 0x7d532c\nLDR             X3, [X3]                                               ; +0xec, 0x7d5330\nLDR             X3, [X3,#0x1C0]                                        ; +0xf0, 0x7d5334\nBLR             X3                                                     ; +0xf4, 0x7d5338\nMOV             X0, X22; this                                          ; +0xf8, 0x7d533c\nBL              _ZN13EndLevelLayer13playEndEffectEv; EndLevelLayer::playEndEffect(void) ; +0xfc, 0x7d5340\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x100, 0x7d5344\nLDR             X0, [X21]                                              ; +0x104, 0x7d5348\nCMP             X1, X0                                                 ; +0x108, 0x7d534c\nB.NE            loc_7D5364                                             ; +0x10c, 0x7d5350\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x110, 0x7d5354\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x114, 0x7d5358\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x118, 0x7d535c\nRET                                                                    ; +0x11c, 0x7d5360\nBL              .__stack_chk_fail                                      ; +0x120, 0x7d5364", "xrefs": ["<???> @ 0x72858", "EndLevelLayer::playDiamondEffect @ 0x7d498c", "<???> @ 0x122bc88"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}