{"type": "func", "start": 8155960, "end": 8156160, "name": "EditorUI::triggerSwipeMode", "pseudocode": "// \n// EditorUI::triggerSwipeMode from 0x7c7338 to 0x7c7400 (200 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x9b980\n// > EditorUI::ccTouchBegan @ 0xbd58b0\n// > <???> @ 0x1544478\n// \n// This function is hookable on this platform (idp: arm, 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 12:54:09 +0000\n// \n\n__int64 __fastcall EditorUI::triggerSwipeMode(EditorUI *this)\n{\n  char *v2; // x21\n  EditorSFXManager *v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x3\n  __int64 v6; // x19\n\n  *((_BYTE *)this + 1568) = 1;\n  v2 = (char *)this + 1448;\n  v3 = (EditorSFXManager *)EditorSFXManager::sharedState(this);\n  EditorSFXManager::playAction(v3, 274);\n  if ( *((_DWORD *)this + 359) == 3 )\n  {\n    *((_BYTE *)this + 861) = 1;\n    cocos2d::CCPoint::operator=((char *)this + 1456, v2);\n    if ( !*((_BYTE *)this + 863) )\n    {\n      *((_QWORD *)this + 188) = 0;\n      *((_BYTE *)this + 865) = 0;\n    }\n  }\n  v4 = CCCircleWave::create(nullptr, 1.0, 60.0, 0.4, 0);\n  v5 = *(_QWORD *)v4;\n  *(_BYTE *)(v4 + 340) = -1;\n  *(_BYTE *)(v4 + 341) = -1;\n  *(_BYTE *)(v4 + 342) = -1;\n  v6 = v4;\n  (*(void (__fastcall **)(__int64, char *))(v5 + 184))(v4, v2);\n  (*(void (__fastcall **)(EditorUI *, __int64, _QWORD))(*(_QWORD *)this + 464LL))(this, v6, 0);\n  *(_DWORD *)(v6 + 352) = 1;\n  return 1;\n}", "assembly": "; \n; EditorUI::triggerSwipeMode from 0x7c7338 to 0x7c7400 (200 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x9b980\n; > EditorUI::ccTouchBegan @ 0xbd58b0\n; > <???> @ 0x1544478\n; \n; This function is hookable on this platform (idp: arm, 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 12:54:09 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x7c7338\nMOV             X29, SP                                                ; +0x4, 0x7c733c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x7c7340\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x7c7344\nMOV             W19, #1                                                ; +0x10, 0x7c7348\nSTRB            W19, [X0,#0x620]                                       ; +0x14, 0x7c734c\nMOV             X20, X0                                                ; +0x18, 0x7c7350\nADD             X21, X20, #0x5A8                                       ; +0x1c, 0x7c7354\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x20, 0x7c7358\nMOV             W1, #0x112; int                                        ; +0x24, 0x7c735c\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x28, 0x7c7360\nLDR             W0, [X20,#0x59C]                                       ; +0x2c, 0x7c7364\nCMP             W0, #3                                                 ; +0x30, 0x7c7368\nB.EQ            loc_7C73DC                                             ; +0x34, 0x7c736c\nLDR             S1, flt_7C7400; float                                  ; +0x38, 0x7c7370\nMOV             W1, #0; bool                                           ; +0x3c, 0x7c7374\nLDR             S2, flt_7C7404; float                                  ; +0x40, 0x7c7378\nMOV             W0, #0; this                                           ; +0x44, 0x7c737c\nFMOV            S0, #1.0; float                                        ; +0x48, 0x7c7380\nBL              _ZN12CCCircleWave6createEfffbb; CCCircleWave::create(float,float,float,bool,bool) ; +0x4c, 0x7c7384\nLDR             X3, [X0]                                               ; +0x50, 0x7c7388\nMOV             W2, #0xFFFFFFFF                                        ; +0x54, 0x7c738c\nSTRB            W2, [X0,#0x154]                                        ; +0x58, 0x7c7390\nSTRB            W2, [X0,#0x155]                                        ; +0x5c, 0x7c7394\nMOV             X1, X21                                                ; +0x60, 0x7c7398\nSTRB            W2, [X0,#0x156]                                        ; +0x64, 0x7c739c\nMOV             X19, X0                                                ; +0x68, 0x7c73a0\nLDR             X2, [X3,#0xB8]                                         ; +0x6c, 0x7c73a4\nBLR             X2                                                     ; +0x70, 0x7c73a8\nLDR             X3, [X20]                                              ; +0x74, 0x7c73ac\nMOV             X0, X20                                                ; +0x78, 0x7c73b0\nMOV             X1, X19                                                ; +0x7c, 0x7c73b4\nMOV             W2, #0                                                 ; +0x80, 0x7c73b8\nLDR             X3, [X3,#0x1D0]                                        ; +0x84, 0x7c73bc\nBLR             X3                                                     ; +0x88, 0x7c73c0\nMOV             W0, #1                                                 ; +0x8c, 0x7c73c4\nSTR             W0, [X19,#0x160]                                       ; +0x90, 0x7c73c8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x94, 0x7c73cc\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x98, 0x7c73d0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x9c, 0x7c73d4\nRET                                                                    ; +0xa0, 0x7c73d8\nSTRB            W19, [X20,#0x35D]                                      ; +0xa4, 0x7c73dc\nADD             X0, X20, #0x5B0                                        ; +0xa8, 0x7c73e0\nMOV             X1, X21                                                ; +0xac, 0x7c73e4\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xb0, 0x7c73e8\nLDRB            W0, [X20,#0x35F]                                       ; +0xb4, 0x7c73ec\nCBNZ            W0, loc_7C7370                                         ; +0xb8, 0x7c73f0\nSTR             XZR, [X20,#0x5E0]                                      ; +0xbc, 0x7c73f4\nSTRB            WZR, [X20,#0x361]                                      ; +0xc0, 0x7c73f8\nB               loc_7C7370                                             ; +0xc4, 0x7c73fc", "xrefs": ["<???> @ 0x9b980", "EditorUI::ccTouchBegan @ 0xbd58b0", "<???> @ 0x1544478"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}