//
// AccountReviewPopup::clearCard from 0x1400b0e50 to 0x1400b0f23 (211 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::adminAccountReviewFailed @ 0x1400b0d69
// > AccountReviewPopup::updateCard @ 0x1400b0fb4
// > ??> @ 0x140913544
//
// 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 11:26:11 +0000
//
__int64 __fastcall AccountReviewPopup::clearCard(__int64 a1)
{
unsigned __int64 v2; // rdi
__int64 v3; // rcx
__int64 v4; // rdx
v2 = 0;
v3 = *(_QWORD *)(a1 + 1560);
v4 = *(_QWORD *)(a1 + 1552);
if ( (v3 - v4) >> 3 )
{
do
{
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 8 * v2) + 512LL))(*(_QWORD *)(v4 + 8 * v2));
v3 = *(_QWORD *)(a1 + 1560);
++v2;
v4 = *(_QWORD *)(a1 + 1552);
}
while ( v2 < (v3 - v4) >> 3 );
}
if ( v4 != v3 )
*(_QWORD *)(a1 + 1560) = v4;
ButtonSprite::setString(*(__int64 **)(a1 + 1464), "Reported");
ButtonSprite::setString(*(__int64 **)(a1 + 1472), "Filter");
ButtonSprite::setString(*(__int64 **)(a1 + 1480), "History");
ButtonSprite::setString(*(__int64 **)(a1 + 1488), "Notes");
return sub_1400AC580(*(float **)(a1 + 1488), 0.89999998);
}