{"type": "func", "start": 4299962192, "end": 4299962441, "name": "EndLevelLayer::currencyEnterFinished", "pseudocode": "// \n// EndLevelLayer::currencyEnterFinished from 0x1004c3750 to 0x1004c3849 (249 bytes)\n// \n// 1 xrefs:\n// > EndLevelLayer::playCurrencyEffect @ 0x1004c2c1b\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 __fastcall EndLevelLayer::currencyEnterFinished(EndLevelLayer *a1)\n{\n  cocos2d::CCParticleSystemQuad *v2; // r15\n  CCCircleWave *v3; // r15\n  double v4; // [rsp+0h] [rbp-30h] BYREF\n  unsigned __int64 v5[5]; // [rsp+8h] [rbp-28h] BYREF\n\n  sub_10028CBE0((float *)v5, 0.0, 8.0);\n  sub_10028CCE0(&v4, (unsigned __int64 *)&a1->m_orbsPosition, v5);\n  v2 = cocos2d::CCParticleSystemQuad::create(\"starEffect.plist\", 0);\n  ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, __int64))v2->setAutoRemoveOnFinish)(v2, 1);\n  ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCParticleSystemQuad *, __int64))a1->m_mainLayer->addChild_0)(\n    a1->m_mainLayer,\n    v2,\n    9);\n  ((void (__fastcall *)(cocos2d::CCParticleSystemQuad *, double *))v2->setPosition)(v2, &v4);\n  v3 = CCCircleWave::create_1(10.0, 90.0, 0.40000001, 0);\n  v3->m_color.b = 0;\n  *(_WORD *)&v3->m_color.r = -1;\n  ((void (__fastcall *)(CCCircleWave *, double *))v3->setPosition)(v3, &v4);\n  ((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, __int64))a1->m_mainLayer->addChild_0)(\n    a1->m_mainLayer,\n    v3,\n    9);\n  EndLevelLayer::playEndEffect(a1);\n}", "assembly": "; \n; EndLevelLayer::currencyEnterFinished from 0x1004c3750 to 0x1004c3849 (249 bytes)\n; \n; 1 xrefs:\n; > EndLevelLayer::playCurrencyEffect @ 0x1004c2c1b\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    rbp                                                            ; +0x0, 0x1004c3750\nmov     rbp, rsp                                                       ; +0x1, 0x1004c3751\npush    r15                                                            ; +0x4, 0x1004c3754\npush    r14                                                            ; +0x6, 0x1004c3756\npush    r12                                                            ; +0x8, 0x1004c3758\npush    rbx                                                            ; +0xa, 0x1004c375a\nsub     rsp, 10h                                                       ; +0xb, 0x1004c375b\nmov     rbx, rdi                                                       ; +0xf, 0x1004c375f\nlea     r15, [rdi+288h]                                                ; +0x12, 0x1004c3762\nlea     r12, [rbp+var_28]                                              ; +0x19, 0x1004c3769\nmovss   xmm1, cs:dword_100815034                                       ; +0x1d, 0x1004c376d\nxorps   xmm0, xmm0                                                     ; +0x25, 0x1004c3775\nmov     rdi, r12                                                       ; +0x28, 0x1004c3778\ncall    sub_10028CBE0                                                  ; +0x2b, 0x1004c377b\nlea     r14, [rbp+var_30]                                              ; +0x30, 0x1004c3780\nmov     rdi, r14                                                       ; +0x34, 0x1004c3784\nmov     rsi, r15                                                       ; +0x37, 0x1004c3787\nmov     rdx, r12                                                       ; +0x3a, 0x1004c378a\ncall    sub_10028CCE0                                                  ; +0x3d, 0x1004c378d\nlea     rdi, aStareffectPlis; \"starEffect.plist\"                       ; +0x42, 0x1004c3792\nxor     esi, esi                                                       ; +0x49, 0x1004c3799\ncall    cocos2d__CCParticleSystemQuad__create                          ; +0x4b, 0x1004c379b\nmov     r15, rax                                                       ; +0x50, 0x1004c37a0\nmov     rax, [rax]                                                     ; +0x53, 0x1004c37a3\nmov     rdi, r15                                                       ; +0x56, 0x1004c37a6\nmov     esi, 1                                                         ; +0x59, 0x1004c37a9\ncall    qword ptr [rax+620h]                                           ; +0x5e, 0x1004c37ae\nmov     rdi, [rbx+240h]                                                ; +0x64, 0x1004c37b4\nmov     rax, [rdi]                                                     ; +0x6b, 0x1004c37bb\nmov     rsi, r15                                                       ; +0x6e, 0x1004c37be\nmov     edx, 9                                                         ; +0x71, 0x1004c37c1\ncall    qword ptr [rax+1C0h]                                           ; +0x76, 0x1004c37c6\nmov     rax, [r15]                                                     ; +0x7c, 0x1004c37cc\nmov     rdi, r15                                                       ; +0x7f, 0x1004c37cf\nmov     rsi, r14                                                       ; +0x82, 0x1004c37d2\ncall    qword ptr [rax+0B8h]                                           ; +0x85, 0x1004c37d5\nmovss   xmm0, cs:dword_100814FEC                                       ; +0x8b, 0x1004c37db\nmovss   xmm1, cs:dword_100815038                                       ; +0x93, 0x1004c37e3\nmovss   xmm2, cs:dword_100815004                                       ; +0x9b, 0x1004c37eb\nxor     edi, edi                                                       ; +0xa3, 0x1004c37f3\ncall    CCCircleWave__create_1                                         ; +0xa5, 0x1004c37f5\nmov     r15, rax                                                       ; +0xaa, 0x1004c37fa\nmov     byte ptr [rax+156h], 0                                         ; +0xad, 0x1004c37fd\nmov     word ptr [rax+154h], 0FFFFh                                    ; +0xb4, 0x1004c3804\nmov     rax, [rax]                                                     ; +0xbd, 0x1004c380d\nmov     rdi, r15                                                       ; +0xc0, 0x1004c3810\nmov     rsi, r14                                                       ; +0xc3, 0x1004c3813\ncall    qword ptr [rax+0B8h]                                           ; +0xc6, 0x1004c3816\nmov     rdi, [rbx+240h]                                                ; +0xcc, 0x1004c381c\nmov     rax, [rdi]                                                     ; +0xd3, 0x1004c3823\nmov     rsi, r15                                                       ; +0xd6, 0x1004c3826\nmov     edx, 9                                                         ; +0xd9, 0x1004c3829\ncall    qword ptr [rax+1C0h]                                           ; +0xde, 0x1004c382e\nmov     rdi, rbx                                                       ; +0xe4, 0x1004c3834\ncall    EndLevelLayer__playEndEffect                                   ; +0xe7, 0x1004c3837\nadd     rsp, 10h                                                       ; +0xec, 0x1004c383c\npop     rbx                                                            ; +0xf0, 0x1004c3840\npop     r12                                                            ; +0xf1, 0x1004c3841\npop     r14                                                            ; +0xf3, 0x1004c3843\npop     r15                                                            ; +0xf5, 0x1004c3845\npop     rbp                                                            ; +0xf7, 0x1004c3847\nretn                                                                   ; +0xf8, 0x1004c3848", "xrefs": ["EndLevelLayer::playCurrencyEffect @ 0x1004c2c1b"], "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"}