//
// CCTextInputNode::isCoveredByPopup from 0x6b8660 to 0x6b86cc (108 bytes)
//
// 3 xrefs:
// > CCTextInputNode::rightClick @ 0x6c23d8
// > CCTextInputNode::scrollWheel @ 0x6c4470
// > ??> @ 0x5dbf8
//
// This function is hookable on this platform (idp: arm, 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 12:50:53 +0000
//
bool __fastcall CCTextInputNode::isCoveredByPopup(CCTextInputNode *this)
{
__int64 v2; // x0
cocos2d::CCTouchDispatcher *v3; // x0
cocos2d::CCTouchHandler *Handler; // x0
cocos2d::CCDirector *Priority; // x0
int v6; // w19
__int64 v7; // x0
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);
Handler = (cocos2d::CCTouchHandler *)cocos2d::CCTouchDispatcher::findHandler(
v3,
(CCTextInputNode *)((char *)this + 320));
if ( !Handler )
return 0;
Priority = (cocos2d::CCDirector *)cocos2d::CCTouchHandler::getPriority(Handler);
v6 = (int)Priority;
v7 = cocos2d::CCDirector::sharedDirector(Priority);
return v6 > *(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 160LL))(v7) + 128);
}