//
// cocos2d::CCIMEDispatcher::dispatchInsertText from 0x10026bbc0 to 0x10026bbec (44 bytes)
//
// 2 xrefs:
// > -[EAGLView insertText:] @ 0x10049d814
// > -[EAGLView unmarkText] @ 0x10049d9b0
//
// This function is hookable on this platform (idp: arm, 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 11:01:44 +0000
//
__int64 __fastcall cocos2d::CCIMEDispatcher::dispatchInsertText(__int64 result, __int64 a2, int a3)
{
if ( a3 >= 1 && a2 && *(_QWORD *)result )
{
result = *(_QWORD *)(*(_QWORD *)result + 24LL);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 64LL))(result);
}
return result;
}