//
// RenameThreadPopup::threadMessagesFailed from 0xc62028 to 0xc62088 (96 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RenameThreadPopup::threadMessagesFailed @ 0xc6208c
// > ??> @ 0xf5110
// > ??> @ 0x14f1648
//
// 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:22 +0000
//
__int64 __fastcall RenameThreadPopup::threadMessagesFailed(RenameThreadPopup *this)
{
__int64 v2; // x0
__int64 result; // x0
char *v4; // x19
v2 = *((_QWORD *)this + 129);
if ( v2 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1416LL))(v2);
result = *((unsigned __int8 *)this + 1072);
if ( *((_BYTE *)this + 1072) )
{
result = *(_QWORD *)(GameLevelManager::sharedState((GameLevelManager *)result) + 1264);
v4 = (char *)this + 1016;
if ( (char *)result != v4 )
{
result = GameLevelManager::sharedState((GameLevelManager *)result);
*(_QWORD *)(result + 1264) = v4;
}
}
return result;
}