{"type": "func", "start": 4295289872, "end": 4295290055, "name": "EditorUI::triggerSwipeMode", "pseudocode": "// \n// EditorUI::triggerSwipeMode from 0x10004ec10 to 0x10004ecc7 (183 bytes)\n// \n// 1 xrefs:\n// > EditorUI::ccTouchBegan @ 0x10004f3c0\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 __fastcall EditorUI::triggerSwipeMode(EditorUI *a1)\n{\n  CCCircleWave *v1; // r14\n\n  a1->m_swipeModeTriggered = 1;\n  if ( a1->m_selectedMode == 3 )\n  {\n    a1->m_swipeActive = 1;\n    sub_10028CC90();\n    if ( !a1->m_continuousSnap )\n    {\n      a1->m_snapObject = nullptr;\n      a1->m_snapObjectExists = 0;\n    }\n  }\n  v1 = CCCircleWave::create(1.0, 30.0, 0.2, 0, 0);\n  v1->m_color.b = -1;\n  *(_WORD *)&v1->m_color.r = -1;\n  ((void (__fastcall *)(CCCircleWave *, cocos2d::CCPoint *))v1->setPosition)(v1, &a1->m_swipeStart);\n  ((void (__fastcall *)(EditorUI *, CCCircleWave *, _QWORD))a1->addChild_0)(a1, v1, 0);\n  v1->m_circleMode = Outline;\n}", "assembly": "; \n; EditorUI::triggerSwipeMode from 0x10004ec10 to 0x10004ecc7 (183 bytes)\n; \n; 1 xrefs:\n; > EditorUI::ccTouchBegan @ 0x10004f3c0\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    rbp                                                            ; +0x0, 0x10004ec10\nmov     rbp, rsp                                                       ; +0x1, 0x10004ec11\npush    r14                                                            ; +0x4, 0x10004ec14\npush    rbx                                                            ; +0x6, 0x10004ec16\nmov     rbx, rdi                                                       ; +0x7, 0x10004ec17\nmov     byte ptr [rdi+568h], 1                                         ; +0xa, 0x10004ec1a\ncmp     dword ptr [rdi+4E0h], 3                                        ; +0x11, 0x10004ec21\njnz     short loc_10004EC5F                                            ; +0x18, 0x10004ec28\nmov     byte ptr [rbx+305h], 1                                         ; +0x1a, 0x10004ec2a\nlea     rsi, [rbx+4F0h]                                                ; +0x21, 0x10004ec31\nlea     rdi, [rbx+4F8h]                                                ; +0x28, 0x10004ec38\ncall    sub_10028CC90                                                  ; +0x2f, 0x10004ec3f\ncmp     byte ptr [rbx+307h], 0                                         ; +0x34, 0x10004ec44\njnz     short loc_10004EC5F                                            ; +0x3b, 0x10004ec4b\nmov     qword ptr [rbx+528h], 0                                        ; +0x3d, 0x10004ec4d\nmov     byte ptr [rbx+309h], 0                                         ; +0x48, 0x10004ec58\nmovss   xmm0, cs:alpha                                                 ; +0x4f, 0x10004ec5f\nmovss   xmm1, cs:dword_100814FD0                                       ; +0x57, 0x10004ec67\nmovss   xmm2, cs:dword_10081541C                                       ; +0x5f, 0x10004ec6f\nxor     edi, edi                                                       ; +0x67, 0x10004ec77\nxor     esi, esi                                                       ; +0x69, 0x10004ec79\ncall    CCCircleWave__create                                           ; +0x6b, 0x10004ec7b\nmov     r14, rax                                                       ; +0x70, 0x10004ec80\nmov     byte ptr [rax+156h], 0FFh                                      ; +0x73, 0x10004ec83\nmov     word ptr [rax+154h], 0FFFFh                                    ; +0x7a, 0x10004ec8a\nlea     rsi, [rbx+4F0h]                                                ; +0x83, 0x10004ec93\nmov     rax, [rax]                                                     ; +0x8a, 0x10004ec9a\nmov     rdi, r14                                                       ; +0x8d, 0x10004ec9d\ncall    qword ptr [rax+0B8h]                                           ; +0x90, 0x10004eca0\nmov     rax, [rbx]                                                     ; +0x96, 0x10004eca6\nmov     rdi, rbx                                                       ; +0x99, 0x10004eca9\nmov     rsi, r14                                                       ; +0x9c, 0x10004ecac\nxor     edx, edx                                                       ; +0x9f, 0x10004ecaf\ncall    qword ptr [rax+1C0h]                                           ; +0xa1, 0x10004ecb1\nmov     dword ptr [r14+160h], 1                                        ; +0xa7, 0x10004ecb7\npop     rbx                                                            ; +0xb2, 0x10004ecc2\npop     r14                                                            ; +0xb3, 0x10004ecc3\npop     rbp                                                            ; +0xb5, 0x10004ecc5\nretn                                                                   ; +0xb6, 0x10004ecc6", "xrefs": ["EditorUI::ccTouchBegan @ 0x10004f3c0"], "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"}