//
// AccountReviewPopup::clearCard from 0xc3ffac to 0xc4006c (192 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::adminAccountReviewFailed @ 0xc43c34
// > AccountReviewPopup::updateCard @ 0xc492a8
// > ??> @ 0x41da0
//
// 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
//
__int64 __fastcall AccountReviewPopup::clearCard(AccountReviewPopup *this)
{
__int64 v2; // x0
__int64 v3; // x1
unsigned __int64 v4; // x19
__int64 v5; // x1
v2 = *((_QWORD *)this + 184);
v3 = *((_QWORD *)this + 185);
if ( (v3 - v2) >> 3 )
{
v4 = 0;
do
{
v5 = *(_QWORD *)(v2 + 8 * v4++);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 520LL))(v5);
v2 = *((_QWORD *)this + 184);
v3 = *((_QWORD *)this + 185);
}
while ( v4 < (v3 - v2) >> 3 );
}
if ( v2 != v3 )
*((_QWORD *)this + 185) = v3 + 8 * ~((unsigned __int64)(v3 - 8 - v2) >> 3);
ButtonSprite::setString(*((ButtonSprite **)this + 173), "Reported");
ButtonSprite::setString(*((ButtonSprite **)this + 174), "Filter");
ButtonSprite::setString(*((ButtonSprite **)this + 175), "History");
ButtonSprite::setString(*((ButtonSprite **)this + 176), "Notes");
return sub_C3F8CC(*((float **)this + 176));
}