// // CCTextInputMenu::registerWithTouchDispatcher from 0x14004dad0 to 0x14004db53 (131 bytes) // // 2 xrefs: // > @ 0x14070c708 // > @ 0x140910190 // // This function is hookable on this platform (idp: pc, 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 11:25:33 +0000 // void __fastcall CCTextInputMenu::registerWithTouchDispatcher(__int64 a1) { __int64 v2; // rbx __int64 v3; // rsi __int64 v4; // rax struct cocos2d::CCTouchDelegate *v5; // rbx int v6; // edi cocos2d::CCTouchDispatcher *v7; // rax v2 = cocos2d::CCDirector::sharedDirector(); v3 = cocos2d::CCDirector::sharedDirector(); v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2); v5 = (struct cocos2d::CCTouchDelegate *)(a1 + 320); v6 = *(_DWORD *)(v4 + 128); if ( !a1 ) v5 = nullptr; v7 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3); cocos2d::CCTouchDispatcher::addTargetedDelegate(v7, v5, v6 - 2, 1); }