{"type": "func", "start": 5369980176, "end": 5369980439, "name": "EndLevelLayer::currencyEnterFinished", "pseudocode": "// \n// EndLevelLayer::currencyEnterFinished from 0x140136510 to 0x140136617 (263 bytes)\n// \n// 2 xrefs:\n// > EndLevelLayer::playCurrencyEffect @ 0x1401363ad\n// > <???> @ 0x1406c9fd8\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  struct cocos2d::CCParticleSystemQuad *v2; // rax\n  _BOOL8 v3; // rdx\n  cocos2d::CCNode *v4; // rbx\n  CCCircleWave *v5; // rbx\n  CCCircleWave_vtbl *v6; // r9\n  char v7; // [rsp+40h] [rbp+8h] BYREF\n  cocos2d::CCPoint v8; // [rsp+48h] [rbp+10h] BYREF\n\n  cocos2d::CCPoint::CCPoint(&v8, 0.0, 8.0);\n  cocos2d::CCPoint::operator+(&a1->m_orbsPosition, &v7);\n  v2 = cocos2d::CCParticleSystemQuad::create(\"starEffect.plist\", 0);\n  LOBYTE(v3) = 1;\n  v4 = v2;\n  v2->setAutoRemoveOnFinish(v2, v3);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v4, 9);\n  v4->setPosition_0(v4, (const cocos2d::CCPoint *)&v7);\n  v5 = CCCircleWave::create(10.0, 90.0, 0.40000001, 0, 1);\n  v6 = v5->__vftable;\n  *(_WORD *)&v5->m_color.r = -1;\n  v5->m_color.b = 0;\n  v6->setPosition_0(v5, (const cocos2d::CCPoint *)&v7);\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 9);\n  EndLevelLayer::playEndEffect(a1);\n}", "assembly": "; \n; EndLevelLayer::currencyEnterFinished from 0x140136510 to 0x140136617 (263 bytes)\n; \n; 2 xrefs:\n; > EndLevelLayer::playCurrencyEffect @ 0x1401363ad\n; > <???> @ 0x1406c9fd8\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\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140136510\npush    rdi                                                            ; +0x5, 0x140136515\nsub     rsp, 30h                                                       ; +0x6, 0x140136516\nmovss   xmm2, cs:dword_140623068                                       ; +0xa, 0x14013651a\nmov     rdi, rcx                                                       ; +0x12, 0x140136522\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x15, 0x140136525\nxorps   xmm1, xmm1                                                     ; +0x1a, 0x14013652a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1d, 0x14013652d\nmov     r8, rax                                                        ; +0x23, 0x140136533\nlea     rcx, [rdi+288h]                                                ; +0x26, 0x140136536\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x2d, 0x14013653d\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x32, 0x140136542\nxor     edx, edx                                                       ; +0x38, 0x140136548\nlea     rcx, aStareffectPlis; \"starEffect.plist\"                       ; +0x3a, 0x14013654a\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x41, 0x140136551\nmov     dl, 1                                                          ; +0x47, 0x140136557\nmov     rcx, rax                                                       ; +0x49, 0x140136559\nmov     rbx, rax                                                       ; +0x4c, 0x14013655c\nmov     r8, [rax]                                                      ; +0x4f, 0x14013655f\ncall    qword ptr [r8+5F8h]                                            ; +0x52, 0x140136562\nmov     rcx, [rdi+240h]                                                ; +0x59, 0x140136569\nmov     r8d, 9                                                         ; +0x60, 0x140136570\nmov     rdx, rbx                                                       ; +0x66, 0x140136576\nmov     r9, [rcx]                                                      ; +0x69, 0x140136579\ncall    qword ptr [r9+1B8h]                                            ; +0x6c, 0x14013657c\nmov     r8, [rbx]                                                      ; +0x73, 0x140136583\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x76, 0x140136586\nmov     rcx, rbx                                                       ; +0x7b, 0x14013658b\ncall    qword ptr [r8+0B8h]                                            ; +0x7e, 0x14013658e\nmovss   xmm2, cs:dword_140622AD0                                       ; +0x85, 0x140136595\nxor     r9d, r9d                                                       ; +0x8d, 0x14013659d\nmovss   xmm1, cs:dword_140623294                                       ; +0x90, 0x1401365a0\nmovss   xmm0, cs:flt_14062307C                                         ; +0x98, 0x1401365a8\nmov     [rsp+38h+var_18], 1                                            ; +0xa0, 0x1401365b0\ncall    CCCircleWave__create                                           ; +0xa5, 0x1401365b5\nmovzx   ecx, cs:word_140529A50                                         ; +0xaa, 0x1401365ba\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xb1, 0x1401365c1\nmov     rbx, rax                                                       ; +0xb6, 0x1401365c6\nmov     r9, [rax]                                                      ; +0xb9, 0x1401365c9\nmov     [rax+154h], cx                                                 ; +0xbc, 0x1401365cc\nmovzx   ecx, cs:byte_140529A52                                         ; +0xc3, 0x1401365d3\nmov     [rax+156h], cl                                                 ; +0xca, 0x1401365da\nmov     rcx, rax                                                       ; +0xd0, 0x1401365e0\ncall    qword ptr [r9+0B8h]                                            ; +0xd3, 0x1401365e3\nmov     rcx, [rdi+240h]                                                ; +0xda, 0x1401365ea\nmov     r8d, 9                                                         ; +0xe1, 0x1401365f1\nmov     rdx, rbx                                                       ; +0xe7, 0x1401365f7\nmov     r9, [rcx]                                                      ; +0xea, 0x1401365fa\ncall    qword ptr [r9+1B8h]                                            ; +0xed, 0x1401365fd\nmov     rcx, rdi                                                       ; +0xf4, 0x140136604\ncall    EndLevelLayer__playEndEffect                                   ; +0xf7, 0x140136607\nmov     rbx, [rsp+38h+arg_10]                                          ; +0xfc, 0x14013660c\nadd     rsp, 30h                                                       ; +0x101, 0x140136611\npop     rdi                                                            ; +0x105, 0x140136615\nretn                                                                   ; +0x106, 0x140136616", "xrefs": ["EndLevelLayer::playCurrencyEffect @ 0x1401363ad", "<???> @ 0x1406c9fd8"], "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"}