// // -[EAGLView keyUpExec:] from 0x100746460 to 0x100746543 (227 bytes) // // 1 xrefs: // > @ 0x100bdd3b8 // // 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 keyUpExec:](EAGLView *self, SEL a2, id a3) { double v3; // xmm0_8 unsigned __int16 v5; // ax unsigned int v6; // eax unsigned int v7; // r14d __int64 v8; // rax __int64 v9; // rax unsigned int v10; // eax unsigned int v11; // r14d unsigned int v12; // r15d int v13; // r12d int v14; // ebx __int64 v15; // rax __int64 v16; // rax objc_msgSend(a3, "timestamp"); v5 = (unsigned __int16)objc_msgSend(a3, "keyCode"); v6 = -[EAGLView convertKeyCode:](self, "convertKeyCode:", v5); if ( v6 != -1 ) { v7 = v6; v8 = cocos2d::CCDirector::sharedDirector(); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 192LL))(v8); cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG(v9, v7, 0, 0, v3); } v10 = (unsigned int)objc_msgSend(a3, "modifierFlags"); v11 = (v10 >> 17) & 1; v12 = (v10 >> 18) & 1; v13 = (v10 >> 19) & 1; v14 = (v10 >> 20) & 1; v15 = cocos2d::CCDirector::sharedDirector(); v16 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v15 + 192LL))(v15); cocos2d::CCKeyboardDispatcher::updateModifierKeys(v16, v11, v12, v13, v14); }