//
// AccountReviewPopup::onClosePopup from 0xc3fdb8 to 0xc3fe30 (120 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'AccountReviewPopup::onClosePopup @ 0xc3fe34
// > ??> @ 0xfbcc8
// > ??> @ 0x14e7918
//
// 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:56 +0000
//
PagedListPopup *__fastcall AccountReviewPopup::onClosePopup(PagedListPopup *this, UploadActionPopup *a2)
{
__int64 v2; // x19
if ( !*((_BYTE *)this + 1304) || *((UploadActionPopup **)this + 162) != a2 )
{
v2 = (__int64)this;
UploadActionPopup::closePopup(a2);
if ( *(UploadActionPopup **)(v2 + 1296) == a2 )
*(_QWORD *)(v2 + 1296) = 0;
this = (PagedListPopup *)*(unsigned __int8 *)(v2 + 1233);
if ( *(_BYTE *)(v2 + 1233) )
{
*(_BYTE *)(v2 + 1233) = 0;
AccountReviewPopup::refreshCard((AccountReviewPopup *)v2);
return PagedListPopup::loadPage((PagedListPopup *)v2, *(_DWORD *)(v2 + 676));
}
}
return this;
}