// // -[CCEventDispatcher keyDown:] from 0x100280550 to 0x1002805e6 (150 bytes) // // 1 xrefs: // > @ 0x100bdbff8 // // 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:27:43 +0000 // void __cdecl -[CCEventDispatcher keyDown:](CCEventDispatcher *self, SEL a2, id a3) { id v4; // rax _listEntry *keyboardDelegates; // rax _listEntry *var1; // r13 v4 = +[EAGLView sharedEGLView](&OBJC_CLASS___EAGLView, "sharedEGLView"); objc_msgSend(v4, "keyDownExec:", a3); if ( self->dispatchEvents_ ) { keyboardDelegates = self->keyboardDelegates_; if ( keyboardDelegates ) { do { var1 = keyboardDelegates->var1; if ( (keyboardDelegates->var4 & 2) != 0 && objc_msgSend(keyboardDelegates->var2, "performSelector:withObject:", "ccKeyDown:", a3) ) { break; } keyboardDelegates = var1; } while ( var1 ); } } }