{"type": "func", "start": 4295462304, "end": 4295462387, "name": "CCTextInputMenu::registerWithTouchDispatcher", "pseudocode": "// \n// CCTextInputMenu::registerWithTouchDispatcher from 0x100078da0 to 0x100078df3 (83 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100aba910\n// \n// This function is hookable on this platform (idp: pc, 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:19:58 +0000\n// \n\n__int64 __fastcall CCTextInputMenu::registerWithTouchDispatcher(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rdi\n  __int64 v4; // r14\n  __int64 v5; // rax\n  __int64 v6; // rax\n\n  v3 = cocos2d::CCDirector::sharedDirector(a1, a2);\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 160LL))(v3);\n  v5 = cocos2d::CCDirector::sharedDirector(v3, a2);\n  v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5);\n  return cocos2d::CCTouchDispatcher::addTargetedDelegate(v4, a1 + 320, (unsigned int)(*(_DWORD *)(v6 + 128) - 2), 1);\n}", "assembly": "; \n; CCTextInputMenu::registerWithTouchDispatcher from 0x100078da0 to 0x100078df3 (83 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100aba910\n; \n; This function is hookable on this platform (idp: pc, 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:19:58 +0000\n; \npush    rbp                                                            ; +0x0, 0x100078da0\nmov     rbp, rsp                                                       ; +0x1, 0x100078da1\npush    r14                                                            ; +0x4, 0x100078da4\npush    rbx                                                            ; +0x6, 0x100078da6\nmov     rbx, rdi                                                       ; +0x7, 0x100078da7\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xa, 0x100078daa\nmov     rcx, [rax]                                                     ; +0xf, 0x100078daf\nmov     rdi, rax                                                       ; +0x12, 0x100078db2\ncall    qword ptr [rcx+0A0h]                                           ; +0x15, 0x100078db5\nmov     r14, rax                                                       ; +0x1b, 0x100078dbb\nadd     rbx, 140h                                                      ; +0x1e, 0x100078dbe\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x25, 0x100078dc5\nmov     rcx, [rax]                                                     ; +0x2a, 0x100078dca\nmov     rdi, rax                                                       ; +0x2d, 0x100078dcd\ncall    qword ptr [rcx+0A0h]                                           ; +0x30, 0x100078dd0\nmov     edx, [rax+80h]                                                 ; +0x36, 0x100078dd6\nadd     edx, 0FFFFFFFEh                                                ; +0x3c, 0x100078ddc\nmov     rdi, r14                                                       ; +0x3f, 0x100078ddf\nmov     rsi, rbx                                                       ; +0x42, 0x100078de2\nmov     ecx, 1                                                         ; +0x45, 0x100078de5\npop     rbx                                                            ; +0x4a, 0x100078dea\npop     r14                                                            ; +0x4b, 0x100078deb\npop     rbp                                                            ; +0x4d, 0x100078ded\njmp     cocos2d__CCTouchDispatcher__addTargetedDelegate                ; +0x4e, 0x100078dee", "xrefs": ["<???> @ 0x100aba910"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}