{"type": "func", "start": 6442939744, "end": 6442939810, "name": "cocos2d::CCEGLView::onGLFWCharCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWCharCallback from 0x180077560 to 0x1800775a2 (66 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4968\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\nvoid __fastcall cocos2d::CCEGLView::onGLFWCharCallback(cocos2d::CCEGLView *this, struct GLFWwindow *a2, int a3)\n{\n  cocos2d::CCIMEDispatcher *v3; // rax\n  cocos2d::CCIMEDispatcher *v4; // rax\n  int v5; // [rsp+40h] [rbp+18h] BYREF\n\n  v5 = a3;\n  if ( a3 == 8 )\n  {\n    v3 = cocos2d::CCIMEDispatcher::sharedDispatcher();\n    cocos2d::CCIMEDispatcher::dispatchDeleteBackward(v3);\n  }\n  else\n  {\n    v4 = cocos2d::CCIMEDispatcher::sharedDispatcher();\n    cocos2d::CCIMEDispatcher::dispatchInsertText(v4, (const char *)&v5, 1, KEY_Unknown);\n  }\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWCharCallback from 0x180077560 to 0x1800775a2 (66 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4968\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     [rsp+arg_10], r8d                                              ; +0x0, 0x180077560\nsub     rsp, 28h                                                       ; +0x5, 0x180077565\ncmp     r8d, 8                                                         ; +0x9, 0x180077569\njnz     short loc_180077581                                            ; +0xd, 0x18007756d\ncall    ?sharedDispatcher@CCIMEDispatcher@cocos2d@@SAPEAV12@XZ; cocos2d::CCIMEDispatcher::sharedDispatcher(void) ; +0xf, 0x18007756f\nmov     rcx, rax; this                                                 ; +0x14, 0x180077574\ncall    ?dispatchDeleteBackward@CCIMEDispatcher@cocos2d@@QEAAXXZ; cocos2d::CCIMEDispatcher::dispatchDeleteBackward(void) ; +0x17, 0x180077577\nadd     rsp, 28h                                                       ; +0x1c, 0x18007757c\nretn                                                                   ; +0x20, 0x180077580\ncall    ?sharedDispatcher@CCIMEDispatcher@cocos2d@@SAPEAV12@XZ; cocos2d::CCIMEDispatcher::sharedDispatcher(void) ; +0x21, 0x180077581\nmov     r9d, 0FFFFFFFFh                                                ; +0x26, 0x180077586\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x2c, 0x18007758c\nmov     rcx, rax                                                       ; +0x31, 0x180077591\nlea     r8d, [r9+2]                                                    ; +0x34, 0x180077594\ncall    ?dispatchInsertText@CCIMEDispatcher@cocos2d@@QEAAXPEBDHW4enumKeyCodes@2@@Z; cocos2d::CCIMEDispatcher::dispatchInsertText(char const *,int,cocos2d::enumKeyCodes) ; +0x38, 0x180077598\nadd     rsp, 28h                                                       ; +0x3d, 0x18007759d\nretn                                                                   ; +0x41, 0x1800775a1", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4968"], "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"}