{"type": "func", "start": 5373122496, "end": 5373122617, "name": "CreateParticlePopup::ccTouchEnded", "pseudocode": "// \n// CreateParticlePopup::ccTouchEnded from 0x1404357c0 to 0x140435839 (121 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405e96a0\n// > <???> @ 0x1406d9d70\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 CreateParticlePopup::ccTouchEnded(CreateParticlePopup *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  int m_nId; // eax\n\n  if ( LODWORD(a1->m_pScriptAccelerateHandlerEntry) == a2->m_nId )\n    LODWORD(a1->m_pScriptAccelerateHandlerEntry) = -1;\n  m_nId = a2->m_nId;\n  if ( LODWORD(a1->m_pComponentContainer) == m_nId )\n  {\n    (*(void (__fastcall **)(char *, cocos2d::CCTouch *, cocos2d::CCEvent *))(*((_QWORD *)a1->m_pUserData + 40) + 24LL))(\n      (char *)a1->m_pUserData + 320,\n      a2,\n      a3);\n    LODWORD(a1->m_pComponentContainer) = -1;\n  }\n  else if ( a1->m_nUpdateScriptHandler == m_nId )\n  {\n    (*(void (__fastcall **)(__int64, cocos2d::CCTouch *, cocos2d::CCEvent *))(*(_QWORD *)(*(_QWORD *)&a1->m_bReorderChildDirty\n                                                                                        + 320LL)\n                                                                            + 24LL))(\n      *(_QWORD *)&a1->m_bReorderChildDirty + 320LL,\n      a2,\n      a3);\n    a1->m_nUpdateScriptHandler = -1;\n  }\n}", "assembly": "; \n; CreateParticlePopup::ccTouchEnded from 0x1404357c0 to 0x140435839 (121 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405e96a0\n; > <???> @ 0x1406d9d70\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    rbx                                                            ; +0x0, 0x1404357c0\nsub     rsp, 20h                                                       ; +0x2, 0x1404357c2\nmov     eax, [rdx+38h]                                                 ; +0x6, 0x1404357c6\nmov     rbx, rcx                                                       ; +0x9, 0x1404357c9\ncmp     [rcx+180h], eax                                                ; +0xc, 0x1404357cc\njnz     short loc_1404357DE                                            ; +0x12, 0x1404357d2\nmov     dword ptr [rcx+180h], 0FFFFFFFFh                               ; +0x14, 0x1404357d4\nmov     eax, [rdx+38h]                                                 ; +0x1e, 0x1404357de\ncmp     [rcx+130h], eax                                                ; +0x21, 0x1404357e1\njnz     short loc_14043580D                                            ; +0x27, 0x1404357e7\nmov     rcx, [rcx+0E0h]                                                ; +0x29, 0x1404357e9\nadd     rcx, 140h                                                      ; +0x30, 0x1404357f0\nmov     rax, [rcx]                                                     ; +0x37, 0x1404357f7\ncall    qword ptr [rax+18h]                                            ; +0x3a, 0x1404357fa\nmov     dword ptr [rbx+130h], 0FFFFFFFFh                               ; +0x3d, 0x1404357fd\nadd     rsp, 20h                                                       ; +0x47, 0x140435807\npop     rbx                                                            ; +0x4b, 0x14043580b\nretn                                                                   ; +0x4c, 0x14043580c\ncmp     [rcx+128h], eax                                                ; +0x4d, 0x14043580d\njnz     short loc_140435833                                            ; +0x53, 0x140435813\nmov     rcx, [rcx+120h]                                                ; +0x55, 0x140435815\nadd     rcx, 140h                                                      ; +0x5c, 0x14043581c\nmov     rax, [rcx]                                                     ; +0x63, 0x140435823\ncall    qword ptr [rax+18h]                                            ; +0x66, 0x140435826\nmov     dword ptr [rbx+128h], 0FFFFFFFFh                               ; +0x69, 0x140435829\nadd     rsp, 20h                                                       ; +0x73, 0x140435833\npop     rbx                                                            ; +0x77, 0x140435837\nretn                                                                   ; +0x78, 0x140435838", "xrefs": ["<???> @ 0x1405e96a0", "<???> @ 0x1406d9d70"], "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"}