{"type": "func", "start": 7046752, "end": 7046860, "name": "CCTextInputNode::isCoveredByPopup", "pseudocode": "// \n// CCTextInputNode::isCoveredByPopup from 0x6b8660 to 0x6b86cc (108 bytes)\n// \n// 3 xrefs:\n// > CCTextInputNode::rightClick @ 0x6c23d8\n// > CCTextInputNode::scrollWheel @ 0x6c4470\n// > <???> @ 0x5dbf8\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 12:50:53 +0000\n// \n\nbool __fastcall CCTextInputNode::isCoveredByPopup(CCTextInputNode *this)\n{\n  __int64 v2; // x0\n  cocos2d::CCTouchDispatcher *v3; // x0\n  cocos2d::CCTouchHandler *Handler; // x0\n  cocos2d::CCDirector *Priority; // x0\n  int v6; // w19\n  __int64 v7; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector(this);\n  v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  Handler = (cocos2d::CCTouchHandler *)cocos2d::CCTouchDispatcher::findHandler(\n                                         v3,\n                                         (CCTextInputNode *)((char *)this + 320));\n  if ( !Handler )\n    return 0;\n  Priority = (cocos2d::CCDirector *)cocos2d::CCTouchHandler::getPriority(Handler);\n  v6 = (int)Priority;\n  v7 = cocos2d::CCDirector::sharedDirector(Priority);\n  return v6 > *(_DWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 160LL))(v7) + 128);\n}", "assembly": "; \n; CCTextInputNode::isCoveredByPopup from 0x6b8660 to 0x6b86cc (108 bytes)\n; \n; 3 xrefs:\n; > CCTextInputNode::rightClick @ 0x6c23d8\n; > CCTextInputNode::scrollWheel @ 0x6c4470\n; > <???> @ 0x5dbf8\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 12:50:53 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x6b8660\nMOV             X29, SP                                                ; +0x4, 0x6b8664\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x6b8668\nMOV             X19, X0                                                ; +0xc, 0x6b866c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x6b8670\nLDR             X1, [X0]                                               ; +0x14, 0x6b8674\nLDR             X1, [X1,#0xA0]                                         ; +0x18, 0x6b8678\nBLR             X1                                                     ; +0x1c, 0x6b867c\nADD             X1, X19, #0x140; cocos2d::CCTouchDelegate *            ; +0x20, 0x6b8680\nBL              _ZN7cocos2d17CCTouchDispatcher11findHandlerEPNS_15CCTouchDelegateE; cocos2d::CCTouchDispatcher::findHandler(cocos2d::CCTouchDelegate *) ; +0x24, 0x6b8684\nCBZ             X0, loc_6B86BC                                         ; +0x28, 0x6b8688\nBL              _ZN7cocos2d14CCTouchHandler11getPriorityEv; cocos2d::CCTouchHandler::getPriority(void) ; +0x2c, 0x6b868c\nMOV             W19, W0                                                ; +0x30, 0x6b8690\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0x6b8694\nLDR             X1, [X0]                                               ; +0x38, 0x6b8698\nLDR             X1, [X1,#0xA0]                                         ; +0x3c, 0x6b869c\nBLR             X1                                                     ; +0x40, 0x6b86a0\nLDR             W0, [X0,#0x80]                                         ; +0x44, 0x6b86a4\nCMP             W19, W0                                                ; +0x48, 0x6b86a8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x4c, 0x6b86ac\nCSET            W0, GT                                                 ; +0x50, 0x6b86b0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x6b86b4\nRET                                                                    ; +0x58, 0x6b86b8\nMOV             W0, #0                                                 ; +0x5c, 0x6b86bc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x60, 0x6b86c0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x64, 0x6b86c4\nRET                                                                    ; +0x68, 0x6b86c8", "xrefs": ["CCTextInputNode::rightClick @ 0x6c23d8", "CCTextInputNode::scrollWheel @ 0x6c4470", "<???> @ 0x5dbf8"], "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"}