//
// EditorUI::isFreeMoveTouch from 0x6efdf8 to 0x6efe50 (88 bytes)
//
// 2 xrefs:
// > EditorUI::finishTouchDelay @ 0x6f00c8
// > EditorUI::ccTouchBegan @ 0x6f0336
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:34 +0000
//
bool __fastcall EditorUI::isFreeMoveTouch(EditorUI *this)
{
int v3; // r0
cocos2d::CCDirector *v4; // r0
int v5; // r0
cocos2d::CCDirector *v6; // r0
int v7; // r0
if ( !*((_BYTE *)this + 508)
&& (v3 = cocos2d::CCDirector::sharedDirector(this),
v4 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 96))(v3),
!*((_BYTE *)v4 + 88))
&& (*((_BYTE *)this + 640)
|| (v5 = cocos2d::CCDirector::sharedDirector(v4),
v6 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 96))(v5),
*((_BYTE *)v6 + 89))
|| (v7 = cocos2d::CCDirector::sharedDirector(v6),
*(_BYTE *)((*(int (__fastcall **)(int))(*(_DWORD *)v7 + 96))(v7) + 91))) )
{
return *((_DWORD *)this + 235) == 3;
}
else
{
return 0;
}
}