//
// EditorUI::isFreeMoveTouch from 0x1401bfa60 to 0x1401bfaeb (139 bytes)
//
// 3 xrefs:
// > EditorUI::finishTouchDelay @ 0x1401bfec1
// > EditorUI::ccTouchBegan @ 0x1401c0301
// > ??> @ 0x14091a654
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:28:02 +0000
//
bool __fastcall EditorUI::isFreeMoveTouch(__int64 a1)
{
__int64 v2; // rax
__int64 v3; // rcx
__int64 v4; // rax
__int64 v5; // rcx
__int64 v6; // rax
bool result; // al
result = !*(_BYTE *)(a1 + 736)
&& (v2 = cocos2d::CCDirector::sharedDirector(a1),
!*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 176LL))(v2) + 152))
&& (*(_BYTE *)(a1 + 912)
|| (v4 = cocos2d::CCDirector::sharedDirector(v3),
*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 176LL))(v4) + 153))
|| (v6 = cocos2d::CCDirector::sharedDirector(v5),
*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 176LL))(v6) + 155)))
&& *(_DWORD *)(a1 + 1508) == 3;
return result;
}