//
// sub_1004F9350 from 0x1004f9350 to 0x1004f93d4 (132 bytes)
//
// 4 xrefs:
// > ThreadViewPopup::init @ 0x1004f824c
// > ThreadViewPopup::threadSendFinished @ 0x1004fd488
// > ThreadViewPopup::threadSendFinished @ 0x1004fd540
// > ThreadViewPopup::threadMessagesFinished @ 0x1004fda8c
//
// 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:06:49 +0000
//
__int64 __fastcall sub_1004F9350(__int64 a1)
{
__int64 result; // x0
unsigned int v3; // w8
const char *v4; // x1
result = *(_QWORD *)(a1 + 864);
if ( result )
{
v3 = *(_DWORD *)(*(_QWORD *)(a1 + 752) + 268LL) - 1;
if ( v3 > 2 )
v4 = "";
else
v4 = off_10099C330[v3];
(*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)result + 928LL))(result, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 864), 84.0, 0.42, 0.2);
}
return result;
}