//
// AccountReviewPopup::threadDeleteAnswered from 0xc405d4 to 0xc40630 (92 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::threadUpdateFinished @ 0xc4063c
// > AccountReviewPopup::threadUpdateFailed @ 0xc4066c
// > ??> @ 0xc5398
//
// 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:04:57 +0000
//
__int64 __fastcall AccountReviewPopup::threadDeleteAnswered(__int64 this)
{
int v1; // w1
__int64 v2; // x19
v1 = *(_DWORD *)(this + 1260);
if ( v1 > 0 )
*(_DWORD *)(this + 1260) = --v1;
if ( !v1 )
{
v2 = this;
this = *(_QWORD *)(GameLevelManager::sharedState((GameLevelManager *)this) + 1264);
if ( this == v2 + 832 )
{
this = GameLevelManager::sharedState((GameLevelManager *)this);
*(_QWORD *)(this + 1264) = 0;
}
}
return this;
}