//
// AccountReviewPopup::onClosePopup from 0x1009a4590 to 0x1009a4621 (145 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bd6c38
//
// This function is hookable on this platform (idp: pc, 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 12:39:18 +0000
//
void __fastcall AccountReviewPopup::onClosePopup(__int64 a1, __int64 a2)
{
__int64 v2; // rax
if ( *(_BYTE *)(a1 + 1304) != 1 || *(_QWORD *)(a1 + 1296) != a2 )
{
UploadActionPopup::closePopup(a2);
if ( *(_QWORD *)(a1 + 1296) != a2 )
{
if ( *(_BYTE *)(a1 + 1233) != 1 )
return;
goto LABEL_5;
}
*(_QWORD *)(a1 + 1296) = 0;
if ( *(_BYTE *)(a1 + 1233) == 1 )
{
LABEL_5:
*(_BYTE *)(a1 + 1233) = 0;
*(_QWORD *)(GameLevelManager::sharedState() + 1256) = a1 + 776;
v2 = GameLevelManager::sharedState();
sub_100570C90(v2, *(_DWORD *)(a1 + 840));
sub_10095CDD0(a1, *(_DWORD *)(a1 + 676));
}
}
}