{"type": "func", "start": 5370837040, "end": 5370837313, "name": "EndLevelLayer::currencyEnterFinished", "pseudocode": "// \n// EndLevelLayer::currencyEnterFinished from 0x140207830 to 0x140207941 (273 bytes)\n// \n// 2 xrefs:\n// > EndLevelLayer::playCurrencyEffect @ 0x1402076cc\n// > <???> @ 0x14091b290\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:15 +0000\n// \n\n__int64 __fastcall EndLevelLayer::currencyEnterFinished(__int64 a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCParticleSystemQuad *v3; // rax\n  __int64 v4; // rdx\n  struct cocos2d::CCParticleSystemQuad *v5; // rbx\n  __int64 v6; // rdx\n  __int64 v7; // rcx\n  __int64 v8; // r8\n  cocos2d::CCObject *v9; // rbx\n  char v11; // [rsp+40h] [rbp+8h] BYREF\n  char v12; // [rsp+48h] [rbp+10h] BYREF\n\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, 0.0, 8.0);\n  cocos2d::CCPoint::operator+(a1 + 648, &v11, v2);\n  v3 = cocos2d::CCParticleSystemQuad::create(\"starEffect.plist\", 0);\n  LOBYTE(v4) = 1;\n  v5 = v3;\n  (*(void (__fastcall **)(struct cocos2d::CCParticleSystemQuad *, __int64))(*(_QWORD *)v3 + 1544LL))(v3, v4);\n  (*(void (__fastcall **)(_QWORD, struct cocos2d::CCParticleSystemQuad *, __int64))(**(_QWORD **)(a1 + 576) + 456LL))(\n    *(_QWORD *)(a1 + 576),\n    v5,\n    9);\n  (*(void (__fastcall **)(struct cocos2d::CCParticleSystemQuad *, char *))(*(_QWORD *)v5 + 184LL))(v5, &v11);\n  v9 = CCCircleWave::create(v7, v6, v8, 0, 1);\n  *((_WORD *)v9 + 170) = -1;\n  *((_BYTE *)v9 + 342) = 0;\n  (*(void (__fastcall **)(cocos2d::CCObject *, char *))(*(_QWORD *)v9 + 184LL))(v9, &v11);\n  (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 576) + 456LL))(\n    *(_QWORD *)(a1 + 576),\n    v9,\n    9);\n  return EndLevelLayer::playEndEffect(a1);\n}", "assembly": "; \n; EndLevelLayer::currencyEnterFinished from 0x140207830 to 0x140207941 (273 bytes)\n; \n; 2 xrefs:\n; > EndLevelLayer::playCurrencyEffect @ 0x1402076cc\n; > <???> @ 0x14091b290\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:15 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140207830\npush    rdi                                                            ; +0x5, 0x140207835\nsub     rsp, 30h                                                       ; +0x6, 0x140207836\nmovss   xmm2, cs:dword_1408354D4                                       ; +0xa, 0x14020783a\nmov     rdi, rcx                                                       ; +0x12, 0x140207842\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x15, 0x140207845\nxorps   xmm1, xmm1                                                     ; +0x1a, 0x14020784a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1d, 0x14020784d\nmov     r8, rax                                                        ; +0x23, 0x140207853\nlea     rcx, [rdi+288h]                                                ; +0x26, 0x140207856\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x2d, 0x14020785d\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x32, 0x140207862\nxor     edx, edx                                                       ; +0x38, 0x140207868\nlea     rcx, aStareffectPlis; \"starEffect.plist\"                       ; +0x3a, 0x14020786a\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x41, 0x140207871\nmov     dl, 1                                                          ; +0x47, 0x140207877\nmov     rbx, rax                                                       ; +0x49, 0x140207879\nmov     rcx, [rax]                                                     ; +0x4c, 0x14020787c\nmov     r8, [rcx+608h]                                                 ; +0x4f, 0x14020787f\nmov     rcx, rax                                                       ; +0x56, 0x140207886\ncall    r8                                                             ; +0x59, 0x140207889\nmov     rcx, [rdi+240h]                                                ; +0x5c, 0x14020788c\nmov     r8d, 9                                                         ; +0x63, 0x140207893\nmov     rdx, [rcx]                                                     ; +0x69, 0x140207899\nmov     r9, [rdx+1C8h]                                                 ; +0x6c, 0x14020789c\nmov     rdx, rbx                                                       ; +0x73, 0x1402078a3\ncall    r9                                                             ; +0x76, 0x1402078a6\nmov     rax, [rbx]                                                     ; +0x79, 0x1402078a9\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x7c, 0x1402078ac\nmov     rcx, rbx                                                       ; +0x81, 0x1402078b1\ncall    qword ptr [rax+0B8h]                                           ; +0x84, 0x1402078b4\nmovss   xmm2, cs:dword_140834EDC                                       ; +0x8a, 0x1402078ba\nxor     r9d, r9d                                                       ; +0x92, 0x1402078c2\nmovss   xmm1, cs:flt_140835780                                         ; +0x95, 0x1402078c5\nmovss   xmm0, cs:flt_1408354EC                                         ; +0x9d, 0x1402078cd\nmov     [rsp+38h+var_18], 1                                            ; +0xa5, 0x1402078d5\ncall    CCCircleWave__create                                           ; +0xaa, 0x1402078da\nmovzx   ecx, cs:word_1407033E4                                         ; +0xaf, 0x1402078df\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xb6, 0x1402078e6\nmov     rbx, rax                                                       ; +0xbb, 0x1402078eb\nmov     [rax+154h], cx                                                 ; +0xbe, 0x1402078ee\nmovzx   ecx, cs:byte_1407033E6                                         ; +0xc5, 0x1402078f5\nmov     [rax+156h], cl                                                 ; +0xcc, 0x1402078fc\nmov     rcx, [rax]                                                     ; +0xd2, 0x140207902\nmov     r9, [rcx+0B8h]                                                 ; +0xd5, 0x140207905\nmov     rcx, rax                                                       ; +0xdc, 0x14020790c\ncall    r9                                                             ; +0xdf, 0x14020790f\nmov     rcx, [rdi+240h]                                                ; +0xe2, 0x140207912\nmov     r8d, 9                                                         ; +0xe9, 0x140207919\nmov     rdx, [rcx]                                                     ; +0xef, 0x14020791f\nmov     rax, [rdx+1C8h]                                                ; +0xf2, 0x140207922\nmov     rdx, rbx                                                       ; +0xf9, 0x140207929\ncall    rax                                                            ; +0xfc, 0x14020792c\nmov     rcx, rdi                                                       ; +0xfe, 0x14020792e\ncall    EndLevelLayer__playEndEffect                                   ; +0x101, 0x140207931\nmov     rbx, [rsp+38h+arg_10]                                          ; +0x106, 0x140207936\nadd     rsp, 30h                                                       ; +0x10b, 0x14020793b\npop     rdi                                                            ; +0x10f, 0x14020793f\nretn                                                                   ; +0x110, 0x140207940", "xrefs": ["EndLevelLayer::playCurrencyEffect @ 0x1402076cc", "<???> @ 0x14091b290"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}