{"type": "func", "start": 4299130260, "end": 4299130444, "name": "EditorUI::triggerSwipeMode", "pseudocode": "// \n// EditorUI::triggerSwipeMode from 0x1003f8594 to 0x1003f864c (184 bytes)\n// \n// 1 xrefs:\n// > EditorUI::ccTouchBegan @ 0x1003f8aa0\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 *v2; // x20\n\n  a1->m_swipeModeTriggered = 1;\n  if ( a1->m_selectedMode == 3 )\n  {\n    a1->m_swipeActive = 1;\n    sub_1000229D0(&a1->m_swipeEnd, (double *)&a1->m_swipeStart);\n    if ( !a1->m_continuousSnap )\n    {\n      a1->m_snapObject = nullptr;\n      a1->m_snapObjectExists = 0;\n    }\n  }\n  v2 = CCCircleWave::create(1.0, 60.0, 0.4, 0, 0);\n  v2->m_color.b = -1;\n  *(_WORD *)&v2->m_color.r = -1;\n  ((void (__fastcall *)(CCCircleWave *, cocos2d::CCPoint *))v2->setPosition)(v2, &a1->m_swipeStart);\n  ((void (__fastcall *)(EditorUI *, CCCircleWave *, _QWORD))a1->addChild_0)(a1, v2, 0);\n  v2->m_circleMode = Outline;\n}", "assembly": "; \n; EditorUI::triggerSwipeMode from 0x1003f8594 to 0x1003f864c (184 bytes)\n; \n; 1 xrefs:\n; > EditorUI::ccTouchBegan @ 0x1003f8aa0\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003f8594\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003f8598\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003f859c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003f85a0\nMOV             X19, X0                                                ; +0x10, 0x1003f85a4\nMOV             W21, #1                                                ; +0x14, 0x1003f85a8\nSTRB            W21, [X0,#0x568]                                       ; +0x18, 0x1003f85ac\nLDR             W8, [X0,#0x4E0]                                        ; +0x1c, 0x1003f85b0\nCMP             W8, #3                                                 ; +0x20, 0x1003f85b4\nB.NE            loc_1003F85DC                                          ; +0x24, 0x1003f85b8\nSTRB            W21, [X19,#0x305]                                      ; +0x28, 0x1003f85bc\nADD             X0, X19, #0x4F8                                        ; +0x2c, 0x1003f85c0\nADD             X1, X19, #0x4F0                                        ; +0x30, 0x1003f85c4\nBL              sub_1000229D0                                          ; +0x34, 0x1003f85c8\nLDRB            W8, [X19,#0x307]                                       ; +0x38, 0x1003f85cc\nTBNZ            W8, #0, loc_1003F85DC                                  ; +0x3c, 0x1003f85d0\nSTR             XZR, [X19,#0x528]                                      ; +0x40, 0x1003f85d4\nSTRB            WZR, [X19,#0x309]                                      ; +0x44, 0x1003f85d8\nMOV             W8, #0x42700000                                        ; +0x48, 0x1003f85dc\nFMOV            S1, W8                                                 ; +0x4c, 0x1003f85e0\nADRP            X8, #dword_10063537C@PAGE                              ; +0x50, 0x1003f85e4\nLDR             S2, [X8,#dword_10063537C@PAGEOFF]                      ; +0x54, 0x1003f85e8\nFMOV            S0, #1.0                                               ; +0x58, 0x1003f85ec\nMOV             W0, #0                                                 ; +0x5c, 0x1003f85f0\nMOV             W1, #0                                                 ; +0x60, 0x1003f85f4\nBL              CCCircleWave__create                                   ; +0x64, 0x1003f85f8\nMOV             X20, X0                                                ; +0x68, 0x1003f85fc\nMOV             W8, #0xFF                                              ; +0x6c, 0x1003f8600\nSTRB            W8, [X0,#0x156]                                        ; +0x70, 0x1003f8604\nMOV             W8, #0xFFFF                                            ; +0x74, 0x1003f8608\nSTRH            W8, [X0,#0x154]                                        ; +0x78, 0x1003f860c\nLDR             X8, [X0]                                               ; +0x7c, 0x1003f8610\nLDR             X8, [X8,#0xB8]                                         ; +0x80, 0x1003f8614\nADD             X1, X19, #0x4F0                                        ; +0x84, 0x1003f8618\nBLR             X8                                                     ; +0x88, 0x1003f861c\nLDR             X8, [X19]                                              ; +0x8c, 0x1003f8620\nLDR             X8, [X8,#0x1C0]                                        ; +0x90, 0x1003f8624\nMOV             X0, X19                                                ; +0x94, 0x1003f8628\nMOV             X1, X20                                                ; +0x98, 0x1003f862c\nMOV             W2, #0                                                 ; +0x9c, 0x1003f8630\nBLR             X8                                                     ; +0xa0, 0x1003f8634\nSTR             W21, [X20,#0x160]                                      ; +0xa4, 0x1003f8638\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xa8, 0x1003f863c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xac, 0x1003f8640\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xb0, 0x1003f8644\nRET                                                                    ; +0xb4, 0x1003f8648", "xrefs": ["EditorUI::ccTouchBegan @ 0x1003f8aa0"], "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"}