{"type": "func", "start": 6443191008, "end": 6443191043, "name": "cocos2d::CCIMEDispatcher::dispatchInsertText", "pseudocode": "// \n// cocos2d::CCIMEDispatcher::dispatchInsertText from 0x1800b4ae0 to 0x1800b4b03 (35 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCEGLView::onGLFWCharCallback @ 0x180077598\n// > sub_1800775B0 @ 0x1800775f0\n// > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x180077f03\n// > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x180077fdf\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007844d\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::CCIMEDispatcher::dispatchInsertText(\n        cocos2d::CCIMEDispatcher *this,\n        const char *a2,\n        __int64 a3,\n        __int64 a4)\n{\n  cocos2d::CCIMEDispatcher::Impl *m_pImpl; // rcx\n  __int64 v5; // rcx\n  __int64 result; // rax\n\n  m_pImpl = this->m_pImpl;\n  if ( m_pImpl && a2 && (int)a3 > 0 )\n  {\n    v5 = *((_QWORD *)m_pImpl + 2);\n    if ( v5 )\n      return (*(__int64 (__fastcall **)(__int64, const char *, __int64, __int64))(*(_QWORD *)v5 + 56LL))(v5, a2, a3, a4);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCIMEDispatcher::dispatchInsertText from 0x1800b4ae0 to 0x1800b4b03 (35 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCEGLView::onGLFWCharCallback @ 0x180077598\n; > sub_1800775B0 @ 0x1800775f0\n; > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x180077f03\n; > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x180077fdf\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007844d\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     rcx, [rcx]                                                     ; +0x0, 0x1800b4ae0\ntest    rcx, rcx                                                       ; +0x3, 0x1800b4ae3\njz      short locret_1800B4B02                                         ; +0x6, 0x1800b4ae6\ntest    rdx, rdx                                                       ; +0x8, 0x1800b4ae8\njz      short locret_1800B4B02                                         ; +0xb, 0x1800b4aeb\ntest    r8d, r8d                                                       ; +0xd, 0x1800b4aed\njle     short locret_1800B4B02                                         ; +0x10, 0x1800b4af0\nmov     rcx, [rcx+10h]                                                 ; +0x12, 0x1800b4af2\ntest    rcx, rcx                                                       ; +0x16, 0x1800b4af6\njz      short locret_1800B4B02                                         ; +0x19, 0x1800b4af9\nmov     rax, [rcx]                                                     ; +0x1b, 0x1800b4afb\njmp     qword ptr [rax+38h]                                            ; +0x1e, 0x1800b4afe\nretn                                                                   ; +0x22, 0x1800b4b02", "xrefs": ["cocos2d::CCEGLView::onGLFWCharCallback @ 0x180077598", "sub_1800775B0 @ 0x1800775f0", "cocos2d::CCEGLView::performSafeClipboardPaste @ 0x180077f03", "cocos2d::CCEGLView::performSafeClipboardPaste @ 0x180077fdf", "cocos2d::CCEGLView::pumpRawInput @ 0x18007844d", "<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}