//
// cocos2d::CCKeyboardDispatcher::convertKeyCode from 0x808b20 to 0x808b42 (34 bytes)
//
// 1 xrefs:
// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x809a08
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:27 +0000
//
int __fastcall cocos2d::CCKeyboardDispatcher::convertKeyCode(int result)
{
switch ( 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;
}