// // -[CCEventDispatcher addTouchDelegate:priority:] from 0x1002956a0 to 0x100295758 (184 bytes) // // 1 xrefs: // > @ 0x100999df0 // // 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 -[CCEventDispatcher addTouchDelegate:priority:](CCEventDispatcher *self, SEL a2, id a3, signed __int64 a4) { int v6; // r12d int v7; // r13d int v8; // r12d char v9; // al v6 = ((unsigned __int8)objc_opt_respondsToSelector(a3, "ccTouchesBeganWithEvent:") != 0) << 13; v7 = v6 | (((unsigned __int8)objc_opt_respondsToSelector(a3, "ccTouchesMovedWithEvent:") != 0) << 14); v8 = v7 | (((unsigned __int8)objc_opt_respondsToSelector(a3, "ccTouchesEndedWithEvent:") != 0) << 15); v9 = objc_opt_respondsToSelector(a3, "ccTouchesCancelledWithEvent:"); -[CCEventDispatcher addDelegate:priority:flags:list:]( self, "addDelegate:priority:flags:list:", a3, a4, v8 | ((unsigned __int8)(v9 != 0) << 16), &self->touchDelegates_); }