//
// Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInsertText from 0x7ed600 to 0x7ed654 (84 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:01 +0000
//
void __fastcall Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInsertText(int a1, int a2, void *a3, int a4)
{
cocos2d::CCIMEDispatcher *v4; // r0
int v5; // r0
char *v6; // r1
int v7; // r2
int v8; // [sp+0h] [bp-10h] BYREF
int v9; // [sp+4h] [bp-Ch]
void *v10; // [sp+8h] [bp-8h]
int v11; // [sp+Ch] [bp-4h]
v8 = a1;
v9 = a2;
v10 = a3;
v11 = a4;
v4 = (cocos2d::CCIMEDispatcher *)cocos2d::JniHelper::jstring2string(&v8, a3);
v5 = cocos2d::CCIMEDispatcher::sharedDispatcher(v4);
if ( (v8 & 1) != 0 )
{
v6 = (char *)v10;
v7 = v9;
}
else
{
v7 = (int)(unsigned __int8)v8 >> 1;
v6 = (char *)&v8 + 1;
}
cocos2d::CCIMEDispatcher::dispatchInsertText(v5, v6, v7, -1);
if ( (v8 & 1) != 0 )
operator delete(v10);
}