//
// Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInsertText from 0xd80720 to 0xd807a8 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0xe7b80
//
// 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 13:08:09 +0000
//
__int64 Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInsertText()
{
cocos2d::CCIMEDispatcher *v0; // x0
__int64 v1; // x0
char *v2; // x1
void *v3; // x2
void *v5[2]; // [xsp+20h] [xbp+20h] BYREF
void *v6; // [xsp+30h] [xbp+30h]
v0 = (cocos2d::CCIMEDispatcher *)cocos2d::JniHelper::jstring2string(v5);
v1 = cocos2d::CCIMEDispatcher::sharedDispatcher(v0);
if ( ((__int64)v5[0] & 1) != 0 )
{
v2 = (char *)v6;
v3 = v5[1];
}
else
{
v3 = (void *)(LOBYTE(v5[0]) >> 1);
v2 = (char *)v5 + 1;
}
cocos2d::CCIMEDispatcher::dispatchInsertText(v1, v2, v3, 0xFFFFFFFFLL);
if ( ((__int64)v5[0] & 1) != 0 )
operator delete(v6);
return _stack_chk_guard;
}