{"type": "func", "start": 4045318, "end": 4045364, "name": "CCTextInputMenu::registerWithTouchDispatcher", "pseudocode": "// \n// CCTextInputMenu::registerWithTouchDispatcher from 0x3dba06 to 0x3dba34 (46 bytes)\n// \n// 0 xrefs:\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:47 +0000\n// \n\nint __fastcall CCTextInputMenu::registerWithTouchDispatcher(CCTextInputMenu *this)\n{\n  int v2; // r0\n  cocos2d::CCDirector *v3; // r5\n  int v4; // r0\n  int v5; // r0\n\n  v2 = cocos2d::CCDirector::sharedDirector(this);\n  v3 = (cocos2d::CCDirector *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);\n  v4 = cocos2d::CCDirector::sharedDirector(v3);\n  v5 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 80))(v4);\n  return cocos2d::CCTouchDispatcher::addTargetedDelegate(\n           v3,\n           (CCTextInputMenu *)((char *)this + 264),\n           *(_DWORD *)(v5 + 100) - 2,\n           1);\n}", "assembly": "; \n; CCTextInputMenu::registerWithTouchDispatcher from 0x3dba06 to 0x3dba34 (46 bytes)\n; \n; 0 xrefs:\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:47 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3dba06\nMOV             R4, R0                                                 ; +0x2, 0x3dba08\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x3dba0a\nLDR             R3, [R0]                                               ; +0x8, 0x3dba0e\nLDR             R3, [R3,#0x50]                                         ; +0xa, 0x3dba10\nBLX             R3                                                     ; +0xc, 0x3dba12\nMOV             R5, R0                                                 ; +0xe, 0x3dba14\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x3dba16\nLDR             R3, [R0]                                               ; +0x14, 0x3dba1a\nLDR             R3, [R3,#0x50]                                         ; +0x16, 0x3dba1c\nBLX             R3                                                     ; +0x18, 0x3dba1e\nADD.W           R1, R4, #0x108; cocos2d::CCTouchDelegate *             ; +0x1a, 0x3dba20\nMOVS            R3, #1; bool                                           ; +0x1e, 0x3dba24\nLDR             R2, [R0,#0x64]                                         ; +0x20, 0x3dba26\nMOV             R0, R5; this                                           ; +0x22, 0x3dba28\nPOP.W           {R4-R6,LR}                                             ; +0x24, 0x3dba2a\nSUBS            R2, #2; int                                            ; +0x28, 0x3dba2e\nB.W             _ZN7cocos2d17CCTouchDispatcher19addTargetedDelegateEPNS_15CCTouchDelegateEib; cocos2d::CCTouchDispatcher::addTargetedDelegate(cocos2d::CCTouchDelegate *,int,bool) ; +0x2a, 0x3dba30", "xrefs": [], "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"}