{"type": "func", "start": 3651828, "end": 3651944, "name": "EditorUI::triggerSwipeMode", "pseudocode": "// \n// EditorUI::triggerSwipeMode from 0x37b8f4 to 0x37b968 (116 bytes)\n// \n// 0 xrefs:\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 EditorUI::triggerSwipeMode(EditorUI *a1)\n{\n  int m_selectedMode; // r2\n  cocos2d::CCPoint *p_m_swipeStart; // r7\n  _BOOL4 m_continuousSnap; // r3\n  CCCircleWave *v5; // r0\n  cocos2d::CCNode *v6; // r5\n  bool v7; // [sp+4h] [bp-8h]\n\n  m_selectedMode = a1->m_selectedMode;\n  a1->m_swipeModeTriggered = 1;\n  p_m_swipeStart = &a1->m_swipeStart;\n  if ( m_selectedMode == 3 )\n  {\n    a1->m_swipeActive = 1;\n    cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_swipeEnd, COERCE_FLOAT((EditorUI *)&a1->m_swipeStart), 3, 1);\n    m_continuousSnap = a1->m_continuousSnap;\n    if ( !a1->m_continuousSnap )\n    {\n      a1->m_snapObject = (GameObject *)m_continuousSnap;\n      a1->m_snapObjectExists = m_continuousSnap;\n    }\n  }\n  v5 = CCCircleWave::create((CCCircleWave *)0x3F800000, 60.0, 0.4, 0.0, 0, v7);\n  v5->m_color.r = -1;\n  v6 = v5;\n  v5->m_color.g = -1;\n  v5->m_color.b = -1;\n  v5->setPosition(v5, p_m_swipeStart);\n  a1->addChild_0(a1, v6, 0);\n  v6[1].m_uIndexInArray = 1;\n}", "assembly": "; \n; EditorUI::triggerSwipeMode from 0x37b8f4 to 0x37b968 (116 bytes)\n; \n; 0 xrefs:\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            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x37b8f4\nMOVS            R3, #1                                                 ; +0x2, 0x37b8f6\nLDR.W           R2, [R0,#0x33C]                                        ; +0x4, 0x37b8f8\nMOV             R4, R0                                                 ; +0x8, 0x37b8fc\nSTRB.W          R3, [R0,#0x3A8]                                        ; +0xa, 0x37b8fe\nADD.W           R7, R0, #0x344                                         ; +0xe, 0x37b902\nCMP             R2, #3                                                 ; +0x12, 0x37b906\nBNE             loc_37B926                                             ; +0x14, 0x37b908\nSTRB.W          R3, [R0,#0x241]                                        ; +0x16, 0x37b90a\nMOV             R1, R7                                                 ; +0x1a, 0x37b90e\nADD.W           R0, R0, #0x34C                                         ; +0x1c, 0x37b910\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x20, 0x37b914\nLDRB.W          R3, [R4,#0x243]                                        ; +0x24, 0x37b918\nCBNZ            R3, loc_37B926                                         ; +0x28, 0x37b91c\nSTR.W           R3, [R4,#0x378]                                        ; +0x2a, 0x37b91e\nSTRB.W          R3, [R4,#0x245]                                        ; +0x2e, 0x37b922\nMOVS            R6, #0                                                 ; +0x32, 0x37b926\nLDR             R2, flt_37B968; float                                  ; +0x34, 0x37b928\nMOV             R3, R6; float                                          ; +0x36, 0x37b92a\nSTR             R6, [SP,#0xC+var_C]; bool                              ; +0x38, 0x37b92c\nLDR             R1, flt_37B96C; float                                  ; +0x3a, 0x37b92e\nMOV.W           R0, #0x3F800000; this                                  ; +0x3c, 0x37b930\nBL              _ZN12CCCircleWave6createEfffbb; CCCircleWave::create(float,float,float,bool,bool) ; +0x40, 0x37b934\nMOVS            R3, #0xFF                                              ; +0x44, 0x37b938\nMOV             R1, R7                                                 ; +0x46, 0x37b93a\nSTRB.W          R3, [R0,#0x118]                                        ; +0x48, 0x37b93c\nMOV             R5, R0                                                 ; +0x4c, 0x37b940\nSTRB.W          R3, [R0,#0x119]                                        ; +0x4e, 0x37b942\nSTRB.W          R3, [R0,#0x11A]                                        ; +0x52, 0x37b946\nLDR             R3, [R0]                                               ; +0x56, 0x37b94a\nLDR             R3, [R3,#0x5C]                                         ; +0x58, 0x37b94c\nBLX             R3                                                     ; +0x5a, 0x37b94e\nLDR             R3, [R4]                                               ; +0x5c, 0x37b950\nMOV             R0, R4                                                 ; +0x5e, 0x37b952\nMOV             R1, R5                                                 ; +0x60, 0x37b954\nMOV             R2, R6                                                 ; +0x62, 0x37b956\nLDR.W           R3, [R3,#0xE0]                                         ; +0x64, 0x37b958\nBLX             R3                                                     ; +0x68, 0x37b95c\nMOVS            R3, #1                                                 ; +0x6a, 0x37b95e\nSTR.W           R3, [R5,#0x124]                                        ; +0x6c, 0x37b960\nADD             SP, SP, #0xC                                           ; +0x70, 0x37b964\nPOP             {R4-R7,PC}                                             ; +0x72, 0x37b966", "xrefs": [], "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"}