; ; cocos2d::CCEGLView::onGLFWCharCallback from 0x18007a260 to 0x18007a35d (253 bytes) ; ; 3 xrefs: ; > sub_18007A360 @ 0x18007a375 ; > @ 0x18014cf68 ; > @ 0x1801bec80 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:59 +0000 ; sub rsp, 28h ; +0x0, 0x18007a260 cmp r8d, 8 ; +0x4, 0x18007a264 jnz short loc_18007A27B ; +0x8, 0x18007a268 call ?sharedDispatcher@CCIMEDispatcher@cocos2d@@SAPEAV12@XZ; cocos2d::CCIMEDispatcher::sharedDispatcher(void) ; +0xa, 0x18007a26a mov rcx, rax; this ; +0xf, 0x18007a26f add rsp, 28h ; +0x12, 0x18007a272 jmp ?dispatchDeleteBackward@CCIMEDispatcher@cocos2d@@QEAAXXZ; cocos2d::CCIMEDispatcher::dispatchDeleteBackward(void) ; +0x16, 0x18007a276 mov [rsp+28h+var_8], rbx ; +0x1b, 0x18007a27b cmp r8d, 7Fh ; +0x20, 0x18007a280 ja short loc_18007A295 ; +0x24, 0x18007a284 mov [rsp+28h+arg_10], r8b ; +0x26, 0x18007a286 mov ebx, 1 ; +0x2b, 0x18007a28b jmp loc_18007A338 ; +0x30, 0x18007a290 cmp r8d, 7FFh ; +0x35, 0x18007a295 ja short loc_18007A2BE ; +0x3c, 0x18007a29c mov eax, r8d ; +0x3e, 0x18007a29e mov ebx, 2 ; +0x41, 0x18007a2a1 shr eax, 6 ; +0x46, 0x18007a2a6 and r8b, 3Fh ; +0x49, 0x18007a2a9 or al, 0C0h ; +0x4d, 0x18007a2ad or r8b, 80h ; +0x4f, 0x18007a2af mov [rsp+28h+arg_10], al ; +0x53, 0x18007a2b3 mov [rsp+28h+arg_11], r8b ; +0x57, 0x18007a2b7 jmp short loc_18007A338 ; +0x5c, 0x18007a2bc cmp r8d, 0FFFFh ; +0x5e, 0x18007a2be ja short loc_18007A2F5 ; +0x65, 0x18007a2c5 mov eax, r8d ; +0x67, 0x18007a2c7 mov ebx, 3 ; +0x6a, 0x18007a2ca shr eax, 0Ch ; +0x6f, 0x18007a2cf or al, 0E0h ; +0x72, 0x18007a2d2 mov [rsp+28h+arg_10], al ; +0x74, 0x18007a2d4 mov eax, r8d ; +0x78, 0x18007a2d8 shr eax, 6 ; +0x7b, 0x18007a2db and r8b, 3Fh ; +0x7e, 0x18007a2de and al, 3Fh ; +0x82, 0x18007a2e2 or al, 80h ; +0x84, 0x18007a2e4 or r8b, 80h ; +0x86, 0x18007a2e6 mov [rsp+28h+arg_11], al ; +0x8a, 0x18007a2ea mov [rsp+28h+arg_12], r8b ; +0x8e, 0x18007a2ee jmp short loc_18007A338 ; +0x93, 0x18007a2f3 cmp r8d, 10FFFFh ; +0x95, 0x18007a2f5 ja short loc_18007A353 ; +0x9c, 0x18007a2fc mov eax, r8d ; +0x9e, 0x18007a2fe mov ebx, 4 ; +0xa1, 0x18007a301 shr eax, 12h ; +0xa6, 0x18007a306 or al, 0F0h ; +0xa9, 0x18007a309 mov [rsp+28h+arg_10], al ; +0xab, 0x18007a30b mov eax, r8d ; +0xaf, 0x18007a30f shr eax, 0Ch ; +0xb2, 0x18007a312 and al, 3Fh ; +0xb5, 0x18007a315 or al, 80h ; +0xb7, 0x18007a317 mov [rsp+28h+arg_11], al ; +0xb9, 0x18007a319 mov eax, r8d ; +0xbd, 0x18007a31d shr eax, 6 ; +0xc0, 0x18007a320 and r8b, 3Fh ; +0xc3, 0x18007a323 and al, 3Fh ; +0xc7, 0x18007a327 or al, 80h ; +0xc9, 0x18007a329 or r8b, 80h ; +0xcb, 0x18007a32b mov [rsp+28h+arg_12], al ; +0xcf, 0x18007a32f mov [rsp+28h+arg_13], r8b ; +0xd3, 0x18007a333 call ?sharedDispatcher@CCIMEDispatcher@cocos2d@@SAPEAV12@XZ; cocos2d::CCIMEDispatcher::sharedDispatcher(void) ; +0xd8, 0x18007a338 mov rcx, rax ; +0xdd, 0x18007a33d lea rdx, [rsp+28h+arg_10] ; +0xe0, 0x18007a340 mov r9d, 0FFFFFFFFh ; +0xe5, 0x18007a345 mov r8d, ebx ; +0xeb, 0x18007a34b call ?dispatchInsertText@CCIMEDispatcher@cocos2d@@QEAAXPEBDHW4enumKeyCodes@2@@Z; cocos2d::CCIMEDispatcher::dispatchInsertText(char const *,int,cocos2d::enumKeyCodes) ; +0xee, 0x18007a34e mov rbx, [rsp+28h+var_8] ; +0xf3, 0x18007a353 add rsp, 28h ; +0xf8, 0x18007a358 retn ; +0xfc, 0x18007a35c