{"type": "func", "start": 4360756, "end": 4360924, "name": "EndLevelLayer::currencyEnterFinished", "pseudocode": "// \n// EndLevelLayer::currencyEnterFinished from 0x428a34 to 0x428adc (168 bytes)\n// \n// 0 xrefs:\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::currencyEnterFinished(EndLevelLayer *a1)\n{\n  bool v2; // r2\n  cocos2d::CCNode *v3; // r4\n  CCCircleWave *v4; // r0\n  cocos2d::CCNode *v5; // r4\n  _BYTE v6[8]; // [sp+4h] [bp+0h] BYREF\n  cocos2d::CCPoint v7; // [sp+Ch] [bp+8h] BYREF\n\n  cocos2d::CCPoint::CCPoint(&v7, 0.0, 8.0);\n  cocos2d::CCPoint::operator+(v6, &a1->m_orbsPosition, &v7);\n  v3 = (cocos2d::CCNode *)cocos2d::CCParticleSystemQuad::create(\n                            (cocos2d::CCParticleSystemQuad *)\"starEffect.plist\",\n                            nullptr,\n                            v2);\n  ((void (__fastcall *)(cocos2d::CCNode *, int))v3->__vftable[1].onEnter)(v3, 1);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v3, 9);\n  v3->setPosition(v3, (const cocos2d::CCPoint *)v6);\n  v4 = CCCircleWave::create(10.0, 90.0, 0.4, 0);\n  v4->m_color.r = -1;\n  v5 = v4;\n  v4->m_color.g = -1;\n  v4->m_color.b = 0;\n  v4->setPosition(v4, (const cocos2d::CCPoint *)v6);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9);\n  EndLevelLayer::playEndEffect(a1);\n}", "assembly": "; \n; EndLevelLayer::currencyEnterFinished from 0x428a34 to 0x428adc (168 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4-R7,LR}                                             ; +0x0, 0x428a34\nSUB             SP, SP, #0x1C; bool                                    ; +0x2, 0x428a36\nLDR             R5, =(__stack_chk_guard_ptr - 0x428A44)                ; +0x4, 0x428a38\nADD             R4, SP, #0x1C+var_10                                   ; +0x6, 0x428a3a\nADD             R7, SP, #4                                             ; +0x8, 0x428a3c\nMOV             R6, R0                                                 ; +0xa, 0x428a3e\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0xc, 0x428a40\nLDR             R5, [R5]; __stack_chk_guard                            ; +0xe, 0x428a42\nMOV             R0, R4; this                                           ; +0x10, 0x428a44\nMOVS            R1, #0; float                                          ; +0x12, 0x428a46\nMOV.W           R2, #0x41000000; float                                 ; +0x14, 0x428a48\nLDR             R3, [R5]                                               ; +0x18, 0x428a4c\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x1a, 0x428a4e\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1c, 0x428a50\nMOV             R2, R4                                                 ; +0x20, 0x428a54\nMOV             R0, R7                                                 ; +0x22, 0x428a56\nADD.W           R1, R6, #0x1FC                                         ; +0x24, 0x428a58\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x28, 0x428a5c\nLDR             R0, =(aStareffectPlis - 0x428A68); \"starEffect.plist\"  ; +0x2c, 0x428a60\nMOVS            R1, #0; char *                                         ; +0x2e, 0x428a62\nADD             R0, PC; \"starEffect.plist\"                             ; +0x30, 0x428a64\nBL              _ZN7cocos2d20CCParticleSystemQuad6createEPKcb; cocos2d::CCParticleSystemQuad::create(char const*,bool) ; +0x32, 0x428a66\nMOVS            R1, #1                                                 ; +0x36, 0x428a6a\nLDR             R3, [R0]                                               ; +0x38, 0x428a6c\nMOV             R4, R0                                                 ; +0x3a, 0x428a6e\nLDR.W           R3, [R3,#0x310]                                        ; +0x3c, 0x428a70\nBLX             R3                                                     ; +0x40, 0x428a74\nLDR.W           R0, [R6,#0x1D0]                                        ; +0x42, 0x428a76\nMOV             R1, R4                                                 ; +0x46, 0x428a7a\nMOVS            R2, #9                                                 ; +0x48, 0x428a7c\nLDR             R3, [R0]                                               ; +0x4a, 0x428a7e\nLDR.W           R3, [R3,#0xE0]                                         ; +0x4c, 0x428a80\nBLX             R3                                                     ; +0x50, 0x428a84\nLDR             R3, [R4]                                               ; +0x52, 0x428a86\nMOV             R0, R4                                                 ; +0x54, 0x428a88\nMOV             R1, R7                                                 ; +0x56, 0x428a8a\nLDR             R3, [R3,#0x5C]                                         ; +0x58, 0x428a8c\nBLX             R3                                                     ; +0x5a, 0x428a8e\nLDR             R2, flt_428ADC; float                                  ; +0x5c, 0x428a90\nLDR             R1, flt_428AE0; float                                  ; +0x5e, 0x428a92\nMOVS            R3, #0; float                                          ; +0x60, 0x428a94\nLDR             R0, =0x41200000; this                                  ; +0x62, 0x428a96\nBL              _ZN12CCCircleWave6createEfffb; CCCircleWave::create(float,float,float,bool) ; +0x64, 0x428a98\nMOVS            R3, #0xFF                                              ; +0x68, 0x428a9c\nMOV             R1, R7                                                 ; +0x6a, 0x428a9e\nSTRB.W          R3, [R0,#0x118]                                        ; +0x6c, 0x428aa0\nMOV             R4, R0                                                 ; +0x70, 0x428aa4\nSTRB.W          R3, [R0,#0x119]                                        ; +0x72, 0x428aa6\nMOVS            R3, #0                                                 ; +0x76, 0x428aaa\nSTRB.W          R3, [R0,#0x11A]                                        ; +0x78, 0x428aac\nLDR             R3, [R0]                                               ; +0x7c, 0x428ab0\nLDR             R3, [R3,#0x5C]                                         ; +0x7e, 0x428ab2\nBLX             R3                                                     ; +0x80, 0x428ab4\nLDR.W           R0, [R6,#0x1D0]                                        ; +0x82, 0x428ab6\nMOVS            R2, #9                                                 ; +0x86, 0x428aba\nMOV             R1, R4                                                 ; +0x88, 0x428abc\nLDR             R3, [R0]                                               ; +0x8a, 0x428abe\nLDR.W           R3, [R3,#0xE0]                                         ; +0x8c, 0x428ac0\nBLX             R3                                                     ; +0x90, 0x428ac4\nMOV             R0, R6; this                                           ; +0x92, 0x428ac6\nBL              _ZN13EndLevelLayer13playEndEffectEv; EndLevelLayer::playEndEffect(void) ; +0x94, 0x428ac8\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x98, 0x428acc\nLDR             R3, [R5]                                               ; +0x9a, 0x428ace\nCMP             R2, R3                                                 ; +0x9c, 0x428ad0\nBEQ             loc_428AD8                                             ; +0x9e, 0x428ad2\nBLX             __stack_chk_fail                                       ; +0xa0, 0x428ad4\nADD             SP, SP, #0x1C                                          ; +0xa4, 0x428ad8\nPOP             {R4-R7,PC}                                             ; +0xa6, 0x428ada", "xrefs": [], "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"}