//
// ThreadDescPopup::threadSendFailed from 0xc62444 to 0xc624a4 (96 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ThreadDescPopup::threadSendFailed @ 0xc624a8
// > ??> @ 0xa7bc0
// > ??> @ 0x14f2758
//
// 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 ThreadDescPopup::threadSendFailed(ThreadDescPopup *this)
{
__int64 v2; // x0
__int64 result; // x0
char *v4; // x19
v2 = *((_QWORD *)this + 130);
if ( v2 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1448LL))(v2);
result = *((unsigned __int8 *)this + 1113);
if ( *((_BYTE *)this + 1113) )
{
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;
}