//
// getStringWithEllipsisJni from 0xb0dedc to 0xb0e050 (372 bytes)
//
// 1 xrefs:
// > ??> @ 0x70f50
//
// 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
//
_QWORD *__usercall getStringWithEllipsisJni@(char *a1@, float a2@, float a3@, _QWORD *a4@)
{
__int64 v7; // x4
char *v9; // x1
__int64 v10; // x23
__int64 v11; // x22
const char *v12; // x21
size_t v13; // x0
long double v14; // q0
__int64 v16; // [xsp+50h] [xbp+50h] BYREF
__int64 v17; // [xsp+58h] [xbp+58h]
__int64 v18; // [xsp+60h] [xbp+60h]
__int64 v19; // [xsp+68h] [xbp+68h]
v7 = _stack_chk_guard;
*a4 = &byte_124B6C8;
v19 = v7;
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v16,
"org/cocos2dx/lib/Cocos2dxBitmap",
"getStringWithEllipsis",
"(Ljava/lang/String;FF)Ljava/lang/String;") )
{
v9 = a1;
if ( !a1 )
v9 = &byte_F288A0;
v10 = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)v16 + 1336LL))(v16, v9);
v11 = _JNIEnv::CallStaticObjectMethod(v16, v17, v18, v10, a2, a3);
v12 = (const char *)(*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v16 + 1352LL))(v16, v11, 0);
v13 = strlen(v12);
*(__n128 *)&v14 = sub_D1798C(a4, v12, v13);
(*(void (__fastcall **)(__int64, __int64, const char *, long double))(*(_QWORD *)v16 + 1360LL))(v16, v11, v12, v14);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 184LL))(v16, v10);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 184LL))(v16, v17);
}
return a4;
}