//
// ThreadOptionsPopup::handBackSlot from 0xc67ff4 to 0xc68048 (84 bytes)
//
// 3 xrefs:
// > ThreadOptionsPopup::onClose @ 0xc68058
// > ThreadOptionsPopup::threadUpdateFailed @ 0xc6c418
// > ??> @ 0xd7bd8
//
// 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 ThreadOptionsPopup::handBackSlot(ThreadOptionsPopup *this)
{
ThreadOptionsPopup *v2; // x1
GameLevelManager *result; // x0
__int64 v4; // x2
__int64 v5; // x1
v2 = *(ThreadOptionsPopup **)(GameLevelManager::sharedState(this) + 1264);
result = (ThreadOptionsPopup *)((char *)this + 1016);
if ( v2 == (ThreadOptionsPopup *)((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;
}