{"type": "func", "start": 4738656, "end": 4738784, "name": "EditorUI::triggerSwipeMode", "pseudocode": "// \n// EditorUI::triggerSwipeMode from 0x484e60 to 0x484ee0 (128 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:24 +0000\n// \n\nint __fastcall EditorUI::triggerSwipeMode(EditorUI *this, bool a2)\n{\n  EditorSFXManager *v3; // r0\n  int v4; // r3\n  CCCircleWave *v5; // r0\n  CCCircleWave *v6; // r5\n  int result; // r0\n\n  *((_BYTE *)this + 1040) = 1;\n  v3 = (EditorSFXManager *)EditorSFXManager::sharedState(this);\n  EditorSFXManager::playAction(v3, 274);\n  if ( *((_DWORD *)this + 235) == 3 )\n  {\n    *((_BYTE *)this + 637) = 1;\n    cocos2d::CCPoint::operator=((char *)this + 956, (char *)this + 948);\n    v4 = *((unsigned __int8 *)this + 639);\n    if ( !*((_BYTE *)this + 639) )\n    {\n      *((_DWORD *)this + 250) = v4;\n      *((_BYTE *)this + 641) = v4;\n    }\n  }\n  v5 = CCCircleWave::create((CCCircleWave *)0x3F800000, 60.0, (cocos2d::CCActionTween *)0x3ECCCCCD, 0.0, 0, a2);\n  *((_BYTE *)v5 + 280) = -1;\n  v6 = v5;\n  *((_BYTE *)v5 + 281) = -1;\n  *((_BYTE *)v5 + 282) = -1;\n  (*(void (__fastcall **)(CCCircleWave *, char *))(*(_DWORD *)v5 + 92))(v5, (char *)this + 948);\n  result = (*(int (__fastcall **)(EditorUI *, CCCircleWave *, _DWORD))(*(_DWORD *)this + 232))(this, v6, 0);\n  *((_DWORD *)v6 + 73) = 1;\n  return result;\n}", "assembly": "; \n; EditorUI::triggerSwipeMode from 0x484e60 to 0x484ee0 (128 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:24 +0000\n; \nPUSH            {R0-R2,R4-R7,LR}                                       ; +0x0, 0x484e60\nMOVS            R5, #1                                                 ; +0x2, 0x484e62\nSTRB.W          R5, [R0,#0x410]                                        ; +0x4, 0x484e64\nMOV             R4, R0                                                 ; +0x8, 0x484e68\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0xa, 0x484e6a\nMOV.W           R1, #0x112; int                                        ; +0xe, 0x484e6e\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x12, 0x484e72\nLDR.W           R3, [R4,#0x3AC]                                        ; +0x16, 0x484e76\nADD.W           R7, R4, #0x3B4                                         ; +0x1a, 0x484e7a\nCMP             R3, #3                                                 ; +0x1e, 0x484e7e\nBNE             loc_484E9E                                             ; +0x20, 0x484e80\nSTRB.W          R5, [R4,#0x27D]                                        ; +0x22, 0x484e82\nADD.W           R0, R4, #0x3BC                                         ; +0x26, 0x484e86\nMOV             R1, R7                                                 ; +0x2a, 0x484e8a\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2c, 0x484e8c\nLDRB.W          R3, [R4,#0x27F]                                        ; +0x30, 0x484e90\nCBNZ            R3, loc_484E9E                                         ; +0x34, 0x484e94\nSTR.W           R3, [R4,#0x3E8]                                        ; +0x36, 0x484e96\nSTRB.W          R3, [R4,#0x281]                                        ; +0x3a, 0x484e9a\nMOVS            R6, #0                                                 ; +0x3e, 0x484e9e\nLDR             R2, flt_484EE0; float                                  ; +0x40, 0x484ea0\nMOV             R3, R6; float                                          ; +0x42, 0x484ea2\nSTR             R6, [SP,#0xC+var_C]; bool                              ; +0x44, 0x484ea4\nLDR             R1, flt_484EE4; float                                  ; +0x46, 0x484ea6\nMOV.W           R0, #0x3F800000; this                                  ; +0x48, 0x484ea8\nBL              _ZN12CCCircleWave6createEfffbb; CCCircleWave::create(float,float,float,bool,bool) ; +0x4c, 0x484eac\nMOVS            R3, #0xFF                                              ; +0x50, 0x484eb0\nMOV             R1, R7                                                 ; +0x52, 0x484eb2\nSTRB.W          R3, [R0,#0x118]                                        ; +0x54, 0x484eb4\nMOV             R5, R0                                                 ; +0x58, 0x484eb8\nSTRB.W          R3, [R0,#0x119]                                        ; +0x5a, 0x484eba\nSTRB.W          R3, [R0,#0x11A]                                        ; +0x5e, 0x484ebe\nLDR             R3, [R0]                                               ; +0x62, 0x484ec2\nLDR             R3, [R3,#0x5C]                                         ; +0x64, 0x484ec4\nBLX             R3                                                     ; +0x66, 0x484ec6\nLDR             R3, [R4]                                               ; +0x68, 0x484ec8\nMOV             R0, R4                                                 ; +0x6a, 0x484eca\nMOV             R1, R5                                                 ; +0x6c, 0x484ecc\nMOV             R2, R6                                                 ; +0x6e, 0x484ece\nLDR.W           R3, [R3,#0xE8]                                         ; +0x70, 0x484ed0\nBLX             R3                                                     ; +0x74, 0x484ed4\nMOVS            R3, #1                                                 ; +0x76, 0x484ed6\nSTR.W           R3, [R5,#0x124]                                        ; +0x78, 0x484ed8\nADD             SP, SP, #0xC                                           ; +0x7c, 0x484edc\nPOP             {R4-R7,PC}                                             ; +0x7e, 0x484ede", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}