// // -[CCEventDispatcher addKeyboardDelegate:priority:] from 0x10027fc40 to 0x10027fcc2 (130 bytes) // // 1 xrefs: // > @ 0x100bdbe30 // // 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 addKeyboardDelegate:priority:]( CCEventDispatcher *self, SEL a2, id a3, signed __int64 a4) { _BOOL8 v6; // r12 __int64 v7; // r12 char v8; // al v6 = (unsigned __int8)objc_opt_respondsToSelector(a3, "ccKeyUp:") != 0; v7 = v6 + 2LL * ((unsigned __int8)objc_opt_respondsToSelector(a3, "ccKeyDown:") != 0); v8 = objc_opt_respondsToSelector(a3, "ccFlagsChanged:"); -[CCEventDispatcher addDelegate:priority:flags:list:]( self, "addDelegate:priority:flags:list:", a3, a4, v7 + 4LL * (v8 != 0), &self->keyboardDelegates_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source