// // cocos2d::CCEGLView::onGLFWCharCallback from 0x180077560 to 0x1800775a2 (66 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b4968 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCEGLView::onGLFWCharCallback(cocos2d::CCEGLView *this, struct GLFWwindow *a2, int a3) { cocos2d::CCIMEDispatcher *v3; // rax cocos2d::CCIMEDispatcher *v4; // rax int v5; // [rsp+40h] [rbp+18h] BYREF v5 = a3; if ( a3 == 8 ) { v3 = cocos2d::CCIMEDispatcher::sharedDispatcher(); cocos2d::CCIMEDispatcher::dispatchDeleteBackward(v3); } else { v4 = cocos2d::CCIMEDispatcher::sharedDispatcher(); cocos2d::CCIMEDispatcher::dispatchInsertText(v4, (const char *)&v5, 1, KEY_Unknown); } }