//
// -[EAGLView flagsChangedExec:] from 0x100746570 to 0x1007465e2 (114 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bdd3e8
//
// 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 12:36:31 +0000
//
void __cdecl -[EAGLView flagsChangedExec:](EAGLView *self, SEL a2, id a3)
{
unsigned int v3; // eax
unsigned int v4; // r14d
unsigned int v5; // r15d
int v6; // r12d
int v7; // ebx
__int64 v8; // rax
__int64 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 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8);
cocos2d::CCKeyboardDispatcher::updateModifierKeys(v9, v4, v5, v6, v7);
}