//
// ThreadViewPopup::refreshDMSubLabel from 0xc65a64 to 0xc65b00 (156 bytes)
//
// 5 xrefs:
// > ThreadViewPopup::init @ 0xc87af4
// > ThreadViewPopup::threadSendFinished @ 0xc89ec0
// > ThreadViewPopup::threadSendFinished @ 0xc89efc
// > ThreadViewPopup::threadMessagesFinished @ 0xc8a40c
// > ??> @ 0xad548
//
// 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:05:24 +0000
//
__int64 __fastcall ThreadViewPopup::refreshDMSubLabel(__int64 this)
{
__int64 v1; // x2
int v2; // w1
char *v3; // x1
__int64 v4; // x19
v1 = *(_QWORD *)(this + 864);
if ( v1 )
{
v2 = *(_DWORD *)(*(_QWORD *)(this + 752) + 268LL);
switch ( v2 )
{
case 1:
v3 = "Request Needed";
break;
case 2:
v3 = "Request Pending";
break;
case 3:
v3 = "Reply to Accept";
break;
default:
v3 = &byte_11B8890;
break;
}
v4 = this;
(*(void (__fastcall **)(_QWORD, char *))(*(_QWORD *)v1 + 928LL))(*(_QWORD *)(this + 864), v3);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(v4 + 864), 84.0, 0.42, 0.2);
}
return this;
}