//
// -[EAGLView flagsChangedExec:] from 0x100667040 to 0x1006670b2 (114 bytes)
//
// 1 xrefs:
// > ??> @ 0x10099b318
//
// 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 __cdecl -[EAGLView flagsChangedExec:](EAGLView *self, SEL a2, id a3)
{
unsigned int v3; // eax
_BOOL4 v4; // r14d
_BOOL4 v5; // r15d
_BOOL4 v6; // r12d
_BOOL4 v7; // ebx
cocos2d::CCDirector *v8; // rax
cocos2d::CCKeyboardDispatcher *v9; // rax
v3 = (unsigned int)objc_msgSend(a3, "modifierFlags");
v4 = (v3 >> 17) & 1;
v5 = (v3 >> 18) & 1;
v6 = (v3 >> 19) & 1;
v7 = (v3 >> 20) & 1;
v8 = cocos2d::CCDirector::sharedDirector();
v9 = (cocos2d::CCKeyboardDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v8->getKeyboardDispatcher)(v8);
cocos2d::CCKeyboardDispatcher::updateModifierKeys(v9, v4, v5, v6, v7);
}