//
// cocos2d::CCIMEDispatcher::sharedDispatcher from 0x1004b4e50 to 0x1004b4ecf (127 bytes)
//
// 3 xrefs:
// > -[EAGLView keyDownExec:] @ 0x1007461f4
// > -[EAGLView keyDownExec:] @ 0x1007462fa
// > -[EAGLView keyDownExec:] @ 0x1007463fc
//
// 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:31:00 +0000
//
__int64 *cocos2d::CCIMEDispatcher::sharedDispatcher()
{
_QWORD *v1; // rax
if ( !(_BYTE)byte_100BE41A0 && __cxa_guard_acquire(&byte_100BE41A0) )
{
v1 = operator new(0x20u);
*v1 = v1;
v1[1] = v1;
v1[2] = 0;
qword_100BE4198 = (__int64)v1;
v1[3] = 0;
__cxa_atexit(func, &qword_100BE4198, (void *)&_mh_execute_header);
__cxa_guard_release(&byte_100BE41A0);
}
return &qword_100BE4198;
}