//
// cocos2d::CCKeyboardDispatcher::updateModifierKeys from 0x180047180 to 0x1800471c0 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCEGLView::clearQueuedInput @ 0x1800791f1
// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b19a
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb974
//
// 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:41 +0000
//
void __fastcall cocos2d::CCKeyboardDispatcher::updateModifierKeys(
cocos2d::CCKeyboardDispatcher *this,
char a2,
char a3,
char a4,
bool a5)
{
*((_BYTE *)this + 152) = a2;
if ( a3 || a5 )
{
*((_BYTE *)this + 154) = a4;
*((_BYTE *)this + 153) = 1;
*((_BYTE *)this + 155) = a5;
}
else
{
*((_BYTE *)this + 154) = a4;
*((_BYTE *)this + 153) = 0;
*((_BYTE *)this + 155) = 0;
}
}