{"type": "func", "start": 6443206672, "end": 6443206707, "name": "cocos2d::CCIMEDispatcher::dispatchInsertText", "pseudocode": "// \n// cocos2d::CCIMEDispatcher::dispatchInsertText from 0x1800b8810 to 0x1800b8833 (35 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCEGLView::onGLFWCharCallback @ 0x18007a34e\n// > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x18007ab61\n// > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x18007ac51\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b218\n// > <???> @ 0x18014cf68\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 11:22:22 +0000\n// \n\n__int64 __fastcall cocos2d::CCIMEDispatcher::dispatchInsertText(__int64 *a1, __int64 a2, int a3)\n{\n  __int64 v3; // rcx\n  __int64 v4; // rcx\n  __int64 result; // rax\n\n  v3 = *a1;\n  if ( v3 && a2 && a3 > 0 )\n  {\n    v4 = *(_QWORD *)(v3 + 16);\n    if ( v4 )\n      return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 56LL))(v4);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCIMEDispatcher::dispatchInsertText from 0x1800b8810 to 0x1800b8833 (35 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCEGLView::onGLFWCharCallback @ 0x18007a34e\n; > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x18007ab61\n; > cocos2d::CCEGLView::performSafeClipboardPaste @ 0x18007ac51\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007b218\n; > <???> @ 0x18014cf68\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 11:22:22 +0000\n; \nmov     rcx, [rcx]                                                     ; +0x0, 0x1800b8810\ntest    rcx, rcx                                                       ; +0x3, 0x1800b8813\njz      short locret_1800B8832                                         ; +0x6, 0x1800b8816\ntest    rdx, rdx                                                       ; +0x8, 0x1800b8818\njz      short locret_1800B8832                                         ; +0xb, 0x1800b881b\ntest    r8d, r8d                                                       ; +0xd, 0x1800b881d\njle     short locret_1800B8832                                         ; +0x10, 0x1800b8820\nmov     rcx, [rcx+10h]                                                 ; +0x12, 0x1800b8822\ntest    rcx, rcx                                                       ; +0x16, 0x1800b8826\njz      short locret_1800B8832                                         ; +0x19, 0x1800b8829\nmov     rax, [rcx]                                                     ; +0x1b, 0x1800b882b\njmp     qword ptr [rax+38h]                                            ; +0x1e, 0x1800b882e\nretn                                                                   ; +0x22, 0x1800b8832", "xrefs": ["cocos2d::CCEGLView::onGLFWCharCallback @ 0x18007a34e", "cocos2d::CCEGLView::performSafeClipboardPaste @ 0x18007ab61", "cocos2d::CCEGLView::performSafeClipboardPaste @ 0x18007ac51", "cocos2d::CCEGLView::pumpRawInput @ 0x18007b218", "<???> @ 0x18014cf68"], "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"}