{"type": "func", "start": 4049770, "end": 4049824, "name": "CCTextInputNode::isCoveredByPopup", "pseudocode": "// \n// CCTextInputNode::isCoveredByPopup from 0x3dcb6a to 0x3dcba0 (54 bytes)\n// \n// 2 xrefs:\n// > CCTextInputNode::rightClick @ 0x3e2880\n// > CCTextInputNode::scrollWheel @ 0x3e39a6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:48 +0000\n// \n\ncocos2d::CCTouchHandler *__fastcall CCTextInputNode::isCoveredByPopup(CCTextInputNode *this)\n{\n  int v2; // r0\n  cocos2d::CCTouchDispatcher *v3; // r0\n  cocos2d::CCTouchHandler *result; // r0\n  cocos2d::CCDirector *Priority; // r4\n  int v6; // r0\n\n  v2 = cocos2d::CCDirector::sharedDirector(this);\n  v3 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);\n  result = (cocos2d::CCTouchHandler *)cocos2d::CCTouchDispatcher::findHandler(\n                                        v3,\n                                        (CCTextInputNode *)((char *)this + 264));\n  if ( result )\n  {\n    Priority = (cocos2d::CCDirector *)cocos2d::CCTouchHandler::getPriority(result);\n    v6 = cocos2d::CCDirector::sharedDirector(Priority);\n    return (cocos2d::CCTouchHandler *)((int)Priority > *(_DWORD *)((*(int (__fastcall **)(int))(*(_DWORD *)v6 + 80))(v6)\n                                                                 + 100));\n  }\n  return result;\n}", "assembly": "; \n; CCTextInputNode::isCoveredByPopup from 0x3dcb6a to 0x3dcba0 (54 bytes)\n; \n; 2 xrefs:\n; > CCTextInputNode::rightClick @ 0x3e2880\n; > CCTextInputNode::scrollWheel @ 0x3e39a6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:46:48 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3dcb6a\nMOV             R4, R0                                                 ; +0x2, 0x3dcb6c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x3dcb6e\nLDR             R3, [R0]                                               ; +0x8, 0x3dcb72\nLDR             R3, [R3,#0x50]                                         ; +0xa, 0x3dcb74\nBLX             R3                                                     ; +0xc, 0x3dcb76\nADD.W           R1, R4, #0x108; cocos2d::CCTouchDelegate *             ; +0xe, 0x3dcb78\nBL              _ZN7cocos2d17CCTouchDispatcher11findHandlerEPNS_15CCTouchDelegateE; cocos2d::CCTouchDispatcher::findHandler(cocos2d::CCTouchDelegate *) ; +0x12, 0x3dcb7c\nCBZ             R0, locret_3DCB9E                                      ; +0x16, 0x3dcb80\nBL              _ZN7cocos2d14CCTouchHandler11getPriorityEv; cocos2d::CCTouchHandler::getPriority(void) ; +0x18, 0x3dcb82\nMOV             R4, R0                                                 ; +0x1c, 0x3dcb86\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x3dcb88\nLDR             R3, [R0]                                               ; +0x22, 0x3dcb8c\nLDR             R3, [R3,#0x50]                                         ; +0x24, 0x3dcb8e\nBLX             R3                                                     ; +0x26, 0x3dcb90\nLDR             R0, [R0,#0x64]                                         ; +0x28, 0x3dcb92\nCMP             R4, R0                                                 ; +0x2a, 0x3dcb94\nITE LE                                                                 ; +0x2c, 0x3dcb96\nMOVLE           R0, #0                                                 ; +0x2e, 0x3dcb98\nMOVGT           R0, #1                                                 ; +0x30, 0x3dcb9a\nPOP             {R4,PC}                                                ; +0x32, 0x3dcb9c\nPOP             {R4,PC}                                                ; +0x34, 0x3dcb9e", "xrefs": ["CCTextInputNode::rightClick @ 0x3e2880", "CCTextInputNode::scrollWheel @ 0x3e39a6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}