//
// sub_1003EF944 from 0x1003ef944 to 0x1003efa28 (228 bytes)
//
// 2 xrefs:
// > InfoLayer::init @ 0x1003ee0cc
// > sub_1003F0408 @ 0x1003f0424
//
// 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 11:04:30 +0000
//
__int64 __fastcall sub_1003EF944(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x8
void **v3; // x8
const char *v4; // x9
void *v5; // x0
__int64 CString; // x20
void *__p[2]; // [xsp+10h] [xbp-30h] BYREF
__int64 v8; // [xsp+20h] [xbp-20h]
if ( *(_QWORD *)(result + 888) )
{
v1 = result;
v2 = *(_QWORD *)(result + 704);
if ( v2 )
{
if ( *(char *)(v2 + 343) < 0 )
{
sub_1000097D0(__p, *(void **)(v2 + 320), *(_QWORD *)(v2 + 328));
}
else
{
*(_OWORD *)__p = *(_OWORD *)(v2 + 320);
v8 = *(_QWORD *)(v2 + 336);
}
v3 = __p;
if ( v8 < 0 )
v3 = (void **)__p[0];
if ( *(_BYTE *)(v1 + 880) )
v4 = "notes";
else
v4 = "comments";
v5 = sub_1003065B0("%s's %s", (const char *)v3, v4);
CString = cocos2d::CCString::getCString((__int64)v5);
if ( SHIBYTE(v8) < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v1 + 888) + 928LL))(*(_QWORD *)(v1 + 888), CString);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(v1 + 888), 180.0, 0.55, 0.0);
}
}
return result;
}