//
// Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeGetContentText from 0x5e347c to 0x5e34ce (82 bytes)
//
// 0 xrefs:
//
// 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
//
cocos2d::CCIMEDispatcher *__fastcall Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeGetContentText(
cocos2d::JniHelper *a1,
cocos2d::CCIMEDispatcher *a2)
{
int JavaVM; // r0
cocos2d::CCIMEDispatcher *result; // r0
cocos2d::CCIMEDispatcher *v4; // r0
const char *ContentText; // r0
cocos2d::CCIMEDispatcher *v6[2]; // [sp+0h] [bp-8h] BYREF
v6[1] = a2;
v6[0] = nullptr;
JavaVM = cocos2d::JniHelper::getJavaVM(a1);
if ( (*(int (__fastcall **)(int, cocos2d::CCIMEDispatcher **, int))(*(_DWORD *)JavaVM + 24))(JavaVM, v6, 65540) )
return nullptr;
result = v6[0];
if ( v6[0] )
{
v4 = cocos2d::CCIMEDispatcher::sharedDispatcher();
ContentText = cocos2d::CCIMEDispatcher::getContentText(v4);
return (cocos2d::CCIMEDispatcher *)(*((int (__fastcall **)(cocos2d::CCIMEDispatcher *, const char *))v6[0]->m_pImpl
+ 167))(
v6[0],
ContentText);
}
return result;
}