//
// AccountReviewPopup::onClosePopup from 0x10054b620 to 0x10054b69c (124 bytes)
//
// 2 xrefs:
// > sub_10054B69C @ 0x10054b6a0
// > ??> @ 0x1009a8c08
//
// 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 11:07:50 +0000
//
__int64 __fastcall AccountReviewPopup::onClosePopup(__int64 result, __int64 a2)
{
__int64 v3; // x19
v3 = result;
if ( *(_BYTE *)(result + 1304) != 1 || *(_QWORD *)(result + 1296) != a2 )
{
result = UploadActionPopup::closePopup(a2);
if ( *(_QWORD *)(v3 + 1296) == a2 )
*(_QWORD *)(v3 + 1296) = 0;
if ( *(_BYTE *)(v3 + 1233) == 1 )
{
*(_BYTE *)(v3 + 1233) = 0;
sub_100542944(v3);
return sub_10051AFD0(v3, *(_DWORD *)(v3 + 676));
}
}
return result;
}