{"type": "func", "start": 6442736368, "end": 6442736420, "name": "cocos2d::CCKeyboardDispatcher::convertKeyCode", "pseudocode": "// \n// cocos2d::CCKeyboardDispatcher::convertKeyCode from 0x180045af0 to 0x180045b24 (52 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b168\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:21:40 +0000\n// \n\n__int64 __fastcall cocos2d::CCKeyboardDispatcher::convertKeyCode(unsigned int a1)\n{\n  switch ( a1 )\n  {\n    case 0x11Bu:\n      return 38;\n    case 0x11Cu:\n      return 40;\n    case 0x11Du:\n      return 37;\n    case 0x11Eu:\n      return 39;\n  }\n  return a1;\n}", "assembly": "; \n; cocos2d::CCKeyboardDispatcher::convertKeyCode from 0x180045af0 to 0x180045b24 (52 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007b168\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:21:40 +0000\n; \nmov     edx, ecx                                                       ; +0x0, 0x180045af0\nsub     edx, 11Bh                                                      ; +0x2, 0x180045af2\njz      short loc_180045B1E                                            ; +0x8, 0x180045af8\nsub     edx, 1                                                         ; +0xa, 0x180045afa\njz      short loc_180045B18                                            ; +0xd, 0x180045afd\nsub     edx, 1                                                         ; +0xf, 0x180045aff\njz      short loc_180045B12                                            ; +0x12, 0x180045b02\ncmp     edx, 1                                                         ; +0x14, 0x180045b04\njz      short loc_180045B0C                                            ; +0x17, 0x180045b07\nmov     eax, ecx                                                       ; +0x19, 0x180045b09\nretn                                                                   ; +0x1b, 0x180045b0b\nmov     eax, 27h ; '''                                                 ; +0x1c, 0x180045b0c\nretn                                                                   ; +0x21, 0x180045b11\nmov     eax, 25h ; '%'                                                 ; +0x22, 0x180045b12\nretn                                                                   ; +0x27, 0x180045b17\nmov     eax, 28h ; '('                                                 ; +0x28, 0x180045b18\nretn                                                                   ; +0x2d, 0x180045b1d\nmov     eax, 26h ; '&'                                                 ; +0x2e, 0x180045b1e\nretn                                                                   ; +0x33, 0x180045b23", "xrefs": ["cocos2d::CCEGLView::pumpRawInput @ 0x18007b168", "<???> @ 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"}