//
// cocos2d::CCKeyboardDispatcher::convertKeyCode from 0xb3fea0 to 0xb3fee4 (68 bytes)
//
// 2 xrefs:
// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0xb3ff20
// > ??> @ 0x47ef8
//
// 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
//
cocos2d::enumKeyCodes cocos2d::CCKeyboardDispatcher::convertKeyCode(cocos2d::enumKeyCodes a1)
{
switch ( a1 )
{
case KEY_ArrowUp:
a1 = KEY_Up;
break;
case KEY_ArrowDown:
a1 = KEY_Down;
break;
case KEY_ArrowLeft:
a1 = KEY_Left;
break;
case KEY_ArrowRight:
a1 = KEY_Right;
break;
default:
return a1;
}
return a1;
}