//
// cocos2d::CCKeyboardDispatcher::updateModifierKeys from 0x180045a60 to 0x180045a8b (43 bytes)
//
// 3 xrefs:
// > cocos2d::CCEGLView::pumpRawInput @ 0x1800783e2
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1704
//
// 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
//
void __fastcall cocos2d::CCKeyboardDispatcher::updateModifierKeys(
cocos2d::CCKeyboardDispatcher *this,
bool a2,
char a3,
bool a4,
bool a5)
{
this->m_bShiftPressed = a2;
if ( a3 || a5 )
{
this->m_bAltPressed = a4;
this->m_bControlPressed = 1;
this->m_bCommandPressed = a5;
}
else
{
this->m_bAltPressed = a4;
this->m_bControlPressed = 0;
this->m_bCommandPressed = 0;
}
}