//
// AccountReviewPopup::updateTabControls from 0xc4035c to 0xc40450 (244 bytes)
//
// 4 xrefs:
// > AccountReviewPopup::selectTab @ 0xc404a8
// > AccountReviewPopup::adminAccountReviewFailed @ 0xc43c3c
// > AccountReviewPopup::adminAccountReviewFinished @ 0xc4d2bc
// > ??> @ 0x9f310
//
// 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:57 +0000
//
__int64 __fastcall AccountReviewPopup::updateTabControls(AccountReviewPopup *this)
{
__int64 v2; // x1
void (*v3)(void); // x2
(*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)this + 181) + 344LL))(
*((_QWORD *)this + 181),
*((_DWORD *)this + 309) == 0);
if ( !*((_BYTE *)this + 1232) )
goto LABEL_7;
v2 = *((_BYTE *)this + 976) >> 1;
if ( (*((_BYTE *)this + 976) & 1) != 0 )
v2 = *((_QWORD *)this + 123);
if ( v2 )
{
(*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)this + 178) + 344LL))(
*((_QWORD *)this + 178),
*((_DWORD *)this + 309) == 1);
v3 = *(void (**)(void))(**((_QWORD **)this + 183) + 344LL);
}
else
{
LABEL_7:
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 178) + 344LL))(*((_QWORD *)this + 178), 0);
v3 = *(void (**)(void))(**((_QWORD **)this + 183) + 344LL);
}
v3();
(*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)this + 179) + 344LL))(
*((_QWORD *)this + 179),
*((_DWORD *)this + 309) != 2);
return AccountReviewPopup::updateSelectedLabel(this);
}