//
// sub_10007D420 from 0x10007d420 to 0x10007d470 (80 bytes)
//
// 1 xrefs:
// > SecretLayer5::init @ 0x10007ca94
//
// 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 10:58:16 +0000
//
double __fastcall sub_10007D420(__int64 a1, __int64 *a2)
{
__int64 v3; // x0
double result; // d0
v3 = *(_QWORD *)(a1 + 472);
if ( *((char *)a2 + 23) < 0 )
a2 = (__int64 *)*a2;
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 928LL))(v3, a2);
*(_QWORD *)&result = cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 472), 320.0, 0.6, 0.0).n128_u64[0];
return result;
}