//
// -[EAGLView insertText:] from 0x10049d7a8 to 0x10049d818 (112 bytes)
//
// 2 xrefs:
// > -[EAGLView paste:] @ 0x100759b30
// > ??> @ 0x1009d39f8
//
// 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:06:00 +0000
//
void __cdecl -[EAGLView insertText:](EAGLView *self, SEL a2, id a3)
{
NSString *markedText; // x0
const char *v6; // x19
__int64 *v7; // x20
int v8; // w2
markedText = self->markedText_;
if ( markedText )
{
objc_release(markedText);
self->markedText_ = nullptr;
}
v6 = (const char *)objc_msgSend(a3, "cStringUsingEncoding:", 4);
v7 = cocos2d::CCIMEDispatcher::sharedDispatcher();
v8 = strlen(v6);
cocos2d::CCIMEDispatcher::dispatchInsertText((__int64)v7, (__int64)v6, v8);
}