//
// cocos2d::CCKeyboardDispatcher::updateModifierKeys from 0x100203890 to 0x1002038be (46 bytes)
//
// 3 xrefs:
// > -[EAGLView keyDownExec:] @ 0x100666d7d
// > -[EAGLView keyUpExec:] @ 0x10066700e
// > -[EAGLView flagsChangedExec:] @ 0x1006670ad
//
// 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 *a1,
bool a2,
bool a3,
bool a4,
bool a5)
{
__m128i inserted; // xmm0
__m128i v6; // xmm0
inserted = _mm_insert_epi32(
_mm_insert_epi32(_mm_insert_epi32(_mm_cvtsi32_si128(a2), a5 | (unsigned int)a3, 1), a4, 2),
a5,
3);
v6 = _mm_packus_epi32(inserted, inserted);
*(_DWORD *)&a1->m_bShiftPressed = _mm_cvtsi128_si32(_mm_packus_epi16(v6, v6));
}