//
// ThreadDescPopup::threadUpdateFinished from 0x75499c to 0x754a22 (134 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ThreadDescPopup::threadUpdateFinished @ 0x754a30
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:58:54 +0000
//
GameLevelManager *__fastcall ThreadDescPopup::threadUpdateFinished(ThreadDescPopup *this, int a2, int a3)
{
int v4; // r0
GameLevelManager *result; // r0
int v6; // r0
int v7; // r5
v4 = *((_DWORD *)this + 180);
if ( !v4 || a2 != *(_DWORD *)(v4 + 52) || !*((_BYTE *)this + 761) )
goto LABEL_6;
if ( a3 == 14 )
{
std::string::operator=((unsigned __int8 *)(v4 + 144), (unsigned __int8 *)this + 736);
v7 = *((_DWORD *)this + 181);
result = (GameLevelManager *)ThreadDescPopup::finishSave(this, "Description updated");
if ( v7 )
return (GameLevelManager *)ThreadViewPopup::refetchLatest(v7);
}
else
{
if ( a3 != 16 )
{
LABEL_6:
result = *((GameLevelManager **)this + 181);
if ( result )
return (GameLevelManager *)(*(int (__fastcall **)(GameLevelManager *, int, int))(*(_DWORD *)result + 728))(
result,
a2,
a3);
return result;
}
std::string::operator=((unsigned __int8 *)(v4 + 156), (unsigned __int8 *)this + 748);
v6 = *((_DWORD *)this + 181);
if ( v6 )
ThreadViewPopup::layoutTitleRow(v6);
if ( *((_BYTE *)this + 760) )
return ThreadDescPopup::sendDescription(this);
else
return (GameLevelManager *)ThreadDescPopup::finishSave(this, "Icon updated");
}
return result;
}