{"type": "func", "start": 12406536, "end": 12406684, "name": "EditorUI::isFreeMoveTouch", "pseudocode": "// \n// EditorUI::isFreeMoveTouch from 0xbd4f08 to 0xbd4f9c (148 bytes)\n// \n// 3 xrefs:\n// > EditorUI::finishTouchDelay @ 0xbd537c\n// > EditorUI::ccTouchBegan @ 0xbd5668\n// > <???> @ 0xaf390\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 13:03:39 +0000\n// \n\nbool __fastcall EditorUI::isFreeMoveTouch(EditorUI *this)\n{\n  __int64 v3; // x0\n  __int64 v4; // x0\n  cocos2d::CCDirector *v5; // x0\n  __int64 v6; // x0\n\n  if ( !*((_BYTE *)this + 688)\n    && (v3 = cocos2d::CCDirector::sharedDirector(this),\n        !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3) + 128))\n    && (*((_BYTE *)this + 864)\n     || (v4 = cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)*((unsigned __int8 *)this + 864)),\n         v5 = (cocos2d::CCDirector *)*(unsigned __int8 *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4)\n                                                        + 129),\n         (_DWORD)v5)\n     || (v6 = cocos2d::CCDirector::sharedDirector(v5),\n         *(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6) + 131))) )\n  {\n    return *((_DWORD *)this + 359) == 3;\n  }\n  else\n  {\n    return 0;\n  }\n}", "assembly": "; \n; EditorUI::isFreeMoveTouch from 0xbd4f08 to 0xbd4f9c (148 bytes)\n; \n; 3 xrefs:\n; > EditorUI::finishTouchDelay @ 0xbd537c\n; > EditorUI::ccTouchBegan @ 0xbd5668\n; > <???> @ 0xaf390\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 13:03:39 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xbd4f08\nMOV             X29, SP                                                ; +0x4, 0xbd4f0c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xbd4f10\nLDRB            W1, [X0,#0x2B0]                                        ; +0xc, 0xbd4f14\nCBZ             W1, loc_BD4F2C                                         ; +0x10, 0xbd4f18\nMOV             W0, #0; this                                           ; +0x14, 0xbd4f1c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x18, 0xbd4f20\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x1c, 0xbd4f24\nRET                                                                    ; +0x20, 0xbd4f28\nMOV             X19, X0                                                ; +0x24, 0xbd4f2c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0xbd4f30\nLDR             X1, [X0]                                               ; +0x2c, 0xbd4f34\nLDR             X1, [X1,#0xC0]                                         ; +0x30, 0xbd4f38\nBLR             X1                                                     ; +0x34, 0xbd4f3c\nLDRB            W0, [X0,#0x80]                                         ; +0x38, 0xbd4f40\nCBNZ            W0, loc_BD4F1C                                         ; +0x3c, 0xbd4f44\nLDRB            W0, [X19,#0x360]; this                                 ; +0x40, 0xbd4f48\nCBZ             W0, loc_BD4F68                                         ; +0x44, 0xbd4f4c\nLDR             W0, [X19,#0x59C]                                       ; +0x48, 0xbd4f50\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0xbd4f54\nCMP             W0, #3                                                 ; +0x50, 0xbd4f58\nCSET            W0, EQ                                                 ; +0x54, 0xbd4f5c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0xbd4f60\nRET                                                                    ; +0x5c, 0xbd4f64\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x60, 0xbd4f68\nLDR             X1, [X0]                                               ; +0x64, 0xbd4f6c\nLDR             X1, [X1,#0xC0]                                         ; +0x68, 0xbd4f70\nBLR             X1                                                     ; +0x6c, 0xbd4f74\nLDRB            W0, [X0,#0x81]; this                                   ; +0x70, 0xbd4f78\nCBNZ            W0, loc_BD4F50                                         ; +0x74, 0xbd4f7c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x78, 0xbd4f80\nLDR             X1, [X0]                                               ; +0x7c, 0xbd4f84\nLDR             X1, [X1,#0xC0]                                         ; +0x80, 0xbd4f88\nBLR             X1                                                     ; +0x84, 0xbd4f8c\nLDRB            W0, [X0,#0x83]                                         ; +0x88, 0xbd4f90\nCBNZ            W0, loc_BD4F50                                         ; +0x8c, 0xbd4f94\nB               loc_BD4F1C                                             ; +0x90, 0xbd4f98", "xrefs": ["EditorUI::finishTouchDelay @ 0xbd537c", "EditorUI::ccTouchBegan @ 0xbd5668", "<???> @ 0xaf390"], "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"}