//
// -[EAGLView insertText:] from 0x10041b834 to 0x10041b8a4 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100849fa8
//
// 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 -[EAGLView insertText:](EAGLView *self, SEL a2, id a3)
{
NSString *markedText; // x0
const char *v6; // x19
cocos2d::CCIMEDispatcher *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(v7, v6, v8, KEY_Unknown);
}