{"type": "func", "start": 7039764, "end": 7039848, "name": "CCTextInputMenu::registerWithTouchDispatcher", "pseudocode": "// \n// CCTextInputMenu::registerWithTouchDispatcher from 0x6b6b14 to 0x6b6b68 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xc7d98\n// > <???> @ 0x141f808\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:52 +0000\n// \n\n__int64 __fastcall CCTextInputMenu::registerWithTouchDispatcher(CCTextInputMenu *this)\n{\n  __int64 v2; // x0\n  cocos2d::CCDirector *v3; // x19\n  __int64 v4; // x0\n  __int64 v5; // x0\n\n  v2 = cocos2d::CCDirector::sharedDirector(this);\n  v3 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  v4 = cocos2d::CCDirector::sharedDirector(v3);\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n  return cocos2d::CCTouchDispatcher::addTargetedDelegate(\n           v3,\n           (CCTextInputMenu *)((char *)this + 320),\n           *(_DWORD *)(v5 + 128) - 2,\n           1);\n}", "assembly": "; \n; CCTextInputMenu::registerWithTouchDispatcher from 0x6b6b14 to 0x6b6b68 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xc7d98\n; > <???> @ 0x141f808\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:52 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x6b6b14\nMOV             X29, SP                                                ; +0x4, 0x6b6b18\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x6b6b1c\nMOV             X20, X0                                                ; +0xc, 0x6b6b20\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x6b6b24\nLDR             X1, [X0]                                               ; +0x14, 0x6b6b28\nLDR             X1, [X1,#0xA0]                                         ; +0x18, 0x6b6b2c\nBLR             X1                                                     ; +0x1c, 0x6b6b30\nMOV             X19, X0                                                ; +0x20, 0x6b6b34\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x6b6b38\nLDR             X1, [X0]                                               ; +0x28, 0x6b6b3c\nLDR             X1, [X1,#0xA0]                                         ; +0x2c, 0x6b6b40\nBLR             X1                                                     ; +0x30, 0x6b6b44\nLDR             W2, [X0,#0x80]                                         ; +0x34, 0x6b6b48\nADD             X1, X20, #0x140; cocos2d::CCTouchDelegate *            ; +0x38, 0x6b6b4c\nMOV             X0, X19; this                                          ; +0x3c, 0x6b6b50\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x6b6b54\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x6b6b58\nSUB             W2, W2, #2; int                                        ; +0x48, 0x6b6b5c\nMOV             W3, #1; bool                                           ; +0x4c, 0x6b6b60\nB               _ZN7cocos2d17CCTouchDispatcher19addTargetedDelegateEPNS_15CCTouchDelegateEib; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x50, 0x6b6b64", "xrefs": ["<???> @ 0xc7d98", "<???> @ 0x141f808"], "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"}