//
// getFontSizeAccordingHeightJni from 0xd7edb8 to 0xd7ee64 (172 bytes)
//
// 2 xrefs:
// > cocos2d::extension::CCEditBoxImplAndroid::initWithSize @ 0xd1c11c
// > ??> @ 0x955d8
//
// 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 __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;
}