{"type": "func", "start": 5370542096, "end": 5370542330, "name": "EditorUI::triggerSwipeMode", "pseudocode": "// \n// EditorUI::triggerSwipeMode from 0x1401bf810 to 0x1401bf8fa (234 bytes)\n// \n// 2 xrefs:\n// > EditorUI::ccTouchBegan @ 0x1401c043c\n// > <???> @ 0x14091a618\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:02 +0000\n// \n\n__int64 __fastcall EditorUI::triggerSwipeMode(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rdx\n  __int64 v4; // rcx\n  __int64 v5; // r8\n  cocos2d::CCObject *v6; // rbx\n  __int64 result; // rax\n\n  *(_BYTE *)(a1 + 1640) = 1;\n  v2 = EditorSFXManager::sharedState();\n  EditorSFXManager::playAction(v2, 274);\n  if ( *(_DWORD *)(a1 + 1508) == 3 )\n  {\n    *(_BYTE *)(a1 + 909) = 1;\n    cocos2d::CCPoint::operator=(a1 + 1528, a1 + 1520);\n    if ( !*(_BYTE *)(a1 + 911) )\n    {\n      *(_QWORD *)(a1 + 1576) = 0;\n      *(_BYTE *)(a1 + 913) = 0;\n    }\n  }\n  v6 = CCCircleWave::create(v4, v3, v5, 0, 0);\n  *((_WORD *)v6 + 170) = -1;\n  *((_BYTE *)v6 + 342) = -1;\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v6 + 184LL))(v6, a1 + 1520);\n  result = (*(__int64 (__fastcall **)(__int64, cocos2d::CCObject *, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, v6, 0);\n  *((_DWORD *)v6 + 88) = 1;\n  return result;\n}", "assembly": "; \n; EditorUI::triggerSwipeMode from 0x1401bf810 to 0x1401bf8fa (234 bytes)\n; \n; 2 xrefs:\n; > EditorUI::ccTouchBegan @ 0x1401c043c\n; > <???> @ 0x14091a618\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:02 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401bf810\npush    rdi                                                            ; +0x5, 0x1401bf815\nsub     rsp, 30h                                                       ; +0x6, 0x1401bf816\nmov     rdi, rcx                                                       ; +0xa, 0x1401bf81a\nmov     byte ptr [rcx+668h], 1                                         ; +0xd, 0x1401bf81d\ncall    EditorSFXManager__sharedState                                  ; +0x14, 0x1401bf824\nmov     rcx, rax                                                       ; +0x19, 0x1401bf829\nmov     edx, 112h                                                      ; +0x1c, 0x1401bf82c\ncall    EditorSFXManager__playAction                                   ; +0x21, 0x1401bf831\ncmp     dword ptr [rdi+5E4h], 3                                        ; +0x26, 0x1401bf836\njnz     short loc_1401BF875                                            ; +0x2d, 0x1401bf83d\nlea     rdx, [rdi+5F0h]                                                ; +0x2f, 0x1401bf83f\nmov     byte ptr [rdi+38Dh], 1                                         ; +0x36, 0x1401bf846\nlea     rcx, [rdi+5F8h]                                                ; +0x3d, 0x1401bf84d\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x44, 0x1401bf854\ncmp     byte ptr [rdi+38Fh], 0                                         ; +0x4a, 0x1401bf85a\njnz     short loc_1401BF875                                            ; +0x51, 0x1401bf861\nmov     qword ptr [rdi+628h], 0                                        ; +0x53, 0x1401bf863\nmov     byte ptr [rdi+391h], 0                                         ; +0x5e, 0x1401bf86e\nmovss   xmm2, cs:dword_140834E64                                       ; +0x65, 0x1401bf875\nxor     r9d, r9d                                                       ; +0x6d, 0x1401bf87d\nmovss   xmm1, cs:dword_140835624                                       ; +0x70, 0x1401bf880\nmovss   xmm0, cs:flt_140835080                                         ; +0x78, 0x1401bf888\nmov     [rsp+38h+var_18], 0                                            ; +0x80, 0x1401bf890\ncall    CCCircleWave__create                                           ; +0x85, 0x1401bf895\nmovzx   ecx, cs:word_14070329C                                         ; +0x8a, 0x1401bf89a\nlea     rdx, [rdi+5F0h]                                                ; +0x91, 0x1401bf8a1\nmov     rbx, rax                                                       ; +0x98, 0x1401bf8a8\nmov     [rax+154h], cx                                                 ; +0x9b, 0x1401bf8ab\nmovzx   ecx, cs:byte_14070329E                                         ; +0xa2, 0x1401bf8b2\nmov     [rax+156h], cl                                                 ; +0xa9, 0x1401bf8b9\nmov     rcx, [rax]                                                     ; +0xaf, 0x1401bf8bf\nmov     r8, [rcx+0B8h]                                                 ; +0xb2, 0x1401bf8c2\nmov     rcx, rax                                                       ; +0xb9, 0x1401bf8c9\ncall    r8                                                             ; +0xbc, 0x1401bf8cc\nmov     rcx, [rdi]                                                     ; +0xbf, 0x1401bf8cf\nxor     r8d, r8d                                                       ; +0xc2, 0x1401bf8d2\nmov     rdx, rbx                                                       ; +0xc5, 0x1401bf8d5\nmov     r9, [rcx+1C8h]                                                 ; +0xc8, 0x1401bf8d8\nmov     rcx, rdi                                                       ; +0xcf, 0x1401bf8df\ncall    r9                                                             ; +0xd2, 0x1401bf8e2\nmov     dword ptr [rbx+160h], 1                                        ; +0xd5, 0x1401bf8e5\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xdf, 0x1401bf8ef\nadd     rsp, 30h                                                       ; +0xe4, 0x1401bf8f4\npop     rdi                                                            ; +0xe8, 0x1401bf8f8\nretn                                                                   ; +0xe9, 0x1401bf8f9", "xrefs": ["EditorUI::ccTouchBegan @ 0x1401c043c", "<???> @ 0x14091a618"], "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"}