//
// cocos2d::CCKeyboardDispatcher::convertKeyCode from 0xdb310c to 0xdb3150 (68 bytes)
//
// 2 xrefs:
// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0xdb3a84
// > ??> @ 0x65d70
//
// This function is hookable on this platform (idp: arm, 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 13:08:40 +0000
//
__int64 __fastcall cocos2d::CCKeyboardDispatcher::convertKeyCode(__int64 result)
{
switch ( (int)result )
{
case 283:
result = 38;
break;
case 284:
result = 40;
break;
case 285:
result = 37;
break;
case 286:
result = 39;
break;
default:
return result;
}
return result;
}