//
// cocos2d::CCIMEDispatcher::dispatchInsertText from 0x1004bc460 to 0x1004bc48a (42 bytes)
//
// 2 xrefs:
// > -[EAGLView keyDownExec:] @ 0x100666ea5
// > -[EAGLView keyDownExec:] @ 0x100666eef
//
// 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 __fastcall cocos2d::CCIMEDispatcher::dispatchInsertText(
cocos2d::CCIMEDispatcher *a1,
const char *a2,
int a3,
cocos2d::enumKeyCodes a4)
{
__int64 v4; // rdi
if ( a3 > 0 && a2 && a1->m_pImpl )
{
v4 = *((_QWORD *)a1->m_pImpl + 3);
if ( v4 )
(*(void (__fastcall **)(__int64, const char *, int, cocos2d::enumKeyCodes))(*(_QWORD *)v4 + 64LL))(v4, a2, a3, a4);
}
}