//
// getFontSizeAccordingHeightJni from 0xb0de30 to 0xb0dedc (172 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCEditBoxImplAndroid::initWithSize @ 0xaaa28c
// > ??> @ 0x6eca0
//
// 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
//
__int64 __fastcall getFontSizeAccordingHeightJni(unsigned int a1)
{
unsigned int v2; // w20
__int64 v4; // [xsp+30h] [xbp+30h] BYREF
__int64 v5; // [xsp+38h] [xbp+38h]
__int64 v6; // [xsp+40h] [xbp+40h]
v2 = 0;
if ( (unsigned __int8)cocos2d::JniHelper::getStaticMethodInfo(
&v4,
"org/cocos2dx/lib/Cocos2dxBitmap",
"getFontSizeAccordingHeight",
"(I)I") )
{
v2 = _JNIEnv::CallStaticIntMethod(v4, v5, v6, a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL))(v4, v5);
}
return v2;
}