//
// cocos2d::CCKeyboardDispatcher::convertKeyCode from 0x180045af0 to 0x180045b24 (52 bytes)
//
// 2 xrefs:
// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b168
// > ??> @ 0x18014cf68
//
// 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:40 +0000
//
__int64 __fastcall cocos2d::CCKeyboardDispatcher::convertKeyCode(unsigned int a1)
{
switch ( a1 )
{
case 0x11Bu:
return 38;
case 0x11Cu:
return 40;
case 0x11Du:
return 37;
case 0x11Eu:
return 39;
}
return a1;
}