//
// sub_100114E68 from 0x100114e68 to 0x100114ed4 (108 bytes)
//
// 3 xrefs:
// > VideoOptionsLayer::init @ 0x100114804
// > sub_100114BF4 @ 0x100114bfc
// > sub_100114C00 @ 0x100114c08
//
// 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:59:10 +0000
//
double __fastcall sub_100114E68(__int64 a1, int a2)
{
unsigned int v3; // w8
double result; // d0
if ( a2 >= 0 )
v3 = a2;
else
v3 = 3;
if ( a2 > 3 )
v3 = 0;
*(_DWORD *)(a1 + 704) = v3;
if ( v3 <= 3 )
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 696) + 928LL))(*(_QWORD *)(a1 + 696), off_1008D31A8[v3]);
*(_QWORD *)&result = cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 696), 100.0, 0.75, 0.0).n128_u64[0];
return result;
}