//
// ThreadDescPopup::handBackSlot from 0xc68608 to 0xc6865c (84 bytes)
//
// 3 xrefs:
// > ThreadDescPopup::onClose @ 0xc6866c
// > ThreadDescPopup::threadUpdateFailed @ 0xc6d45c
// > ??> @ 0xb26f0
//
// 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:26 +0000
//
GameLevelManager *__fastcall ThreadDescPopup::handBackSlot(ThreadDescPopup *this)
{
ThreadDescPopup *v2; // x1
GameLevelManager *result; // x0
__int64 v4; // x2
__int64 v5; // x1
v2 = *(ThreadDescPopup **)(GameLevelManager::sharedState(this) + 1264);
result = (ThreadDescPopup *)((char *)this + 1016);
if ( v2 == (ThreadDescPopup *)((char *)this + 1016) )
{
result = (GameLevelManager *)GameLevelManager::sharedState(result);
v4 = *((_QWORD *)this + 130);
v5 = v4 + 672;
if ( !v4 )
v5 = 0;
*((_QWORD *)result + 158) = v5;
}
return result;
}