{"type": "func", "start": 5369981344, "end": 5369981607, "name": "EndLevelLayer::diamondEnterFinished", "pseudocode": "// \n// EndLevelLayer::diamondEnterFinished from 0x1401369a0 to 0x140136aa7 (263 bytes)\n// \n// 2 xrefs:\n// > EndLevelLayer::playDiamondEffect @ 0x140136842\n// > <???> @ 0x1406ca008\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  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_diamondsPosition, &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 = -1;\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::diamondEnterFinished from 0x1401369a0 to 0x140136aa7 (263 bytes)\n; \n; 2 xrefs:\n; > EndLevelLayer::playDiamondEffect @ 0x140136842\n; > <???> @ 0x1406ca008\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, 0x1401369a0\npush    rdi                                                            ; +0x5, 0x1401369a5\nsub     rsp, 30h                                                       ; +0x6, 0x1401369a6\nmovss   xmm2, cs:dword_140623068                                       ; +0xa, 0x1401369aa\nmov     rdi, rcx                                                       ; +0x12, 0x1401369b2\nlea     rcx, [rsp+38h+arg_8]                                           ; +0x15, 0x1401369b5\nxorps   xmm1, xmm1                                                     ; +0x1a, 0x1401369ba\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1d, 0x1401369bd\nmov     r8, rax                                                        ; +0x23, 0x1401369c3\nlea     rcx, [rdi+290h]                                                ; +0x26, 0x1401369c6\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x2d, 0x1401369cd\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x32, 0x1401369d2\nxor     edx, edx                                                       ; +0x38, 0x1401369d8\nlea     rcx, aStareffectPlis; \"starEffect.plist\"                       ; +0x3a, 0x1401369da\ncall    cs:?create@CCParticleSystemQuad@cocos2d@@SAPEAV12@PEBD_N@Z; cocos2d::CCParticleSystemQuad::create(char const *,bool) ; +0x41, 0x1401369e1\nmov     dl, 1                                                          ; +0x47, 0x1401369e7\nmov     rcx, rax                                                       ; +0x49, 0x1401369e9\nmov     rbx, rax                                                       ; +0x4c, 0x1401369ec\nmov     r8, [rax]                                                      ; +0x4f, 0x1401369ef\ncall    qword ptr [r8+5F8h]                                            ; +0x52, 0x1401369f2\nmov     rcx, [rdi+240h]                                                ; +0x59, 0x1401369f9\nmov     r8d, 9                                                         ; +0x60, 0x140136a00\nmov     rdx, rbx                                                       ; +0x66, 0x140136a06\nmov     r9, [rcx]                                                      ; +0x69, 0x140136a09\ncall    qword ptr [r9+1B8h]                                            ; +0x6c, 0x140136a0c\nmov     r8, [rbx]                                                      ; +0x73, 0x140136a13\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x76, 0x140136a16\nmov     rcx, rbx                                                       ; +0x7b, 0x140136a1b\ncall    qword ptr [r8+0B8h]                                            ; +0x7e, 0x140136a1e\nmovss   xmm2, cs:dword_140622AD0                                       ; +0x85, 0x140136a25\nxor     r9d, r9d                                                       ; +0x8d, 0x140136a2d\nmovss   xmm1, cs:dword_140623294                                       ; +0x90, 0x140136a30\nmovss   xmm0, cs:flt_14062307C                                         ; +0x98, 0x140136a38\nmov     [rsp+38h+var_18], 1                                            ; +0xa0, 0x140136a40\ncall    CCCircleWave__create                                           ; +0xa5, 0x140136a45\nmovzx   ecx, cs:word_140529A54                                         ; +0xaa, 0x140136a4a\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xb1, 0x140136a51\nmov     rbx, rax                                                       ; +0xb6, 0x140136a56\nmov     r9, [rax]                                                      ; +0xb9, 0x140136a59\nmov     [rax+154h], cx                                                 ; +0xbc, 0x140136a5c\nmovzx   ecx, cs:byte_140529A56                                         ; +0xc3, 0x140136a63\nmov     [rax+156h], cl                                                 ; +0xca, 0x140136a6a\nmov     rcx, rax                                                       ; +0xd0, 0x140136a70\ncall    qword ptr [r9+0B8h]                                            ; +0xd3, 0x140136a73\nmov     rcx, [rdi+240h]                                                ; +0xda, 0x140136a7a\nmov     r8d, 9                                                         ; +0xe1, 0x140136a81\nmov     rdx, rbx                                                       ; +0xe7, 0x140136a87\nmov     r9, [rcx]                                                      ; +0xea, 0x140136a8a\ncall    qword ptr [r9+1B8h]                                            ; +0xed, 0x140136a8d\nmov     rcx, rdi                                                       ; +0xf4, 0x140136a94\ncall    EndLevelLayer__playEndEffect                                   ; +0xf7, 0x140136a97\nmov     rbx, [rsp+38h+arg_10]                                          ; +0xfc, 0x140136a9c\nadd     rsp, 30h                                                       ; +0x101, 0x140136aa1\npop     rdi                                                            ; +0x105, 0x140136aa5\nretn                                                                   ; +0x106, 0x140136aa6", "xrefs": ["EndLevelLayer::playDiamondEffect @ 0x140136842", "<???> @ 0x1406ca008"], "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"}