//
// AccountReviewPopup::adminAccountReviewFailed from 0xc43bc4 to 0xc43d1c (344 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'AccountReviewPopup::adminAccountReviewFailed @ 0xc43d24
// > ??> @ 0x93070
// > ??> @ 0x14e7940
//
// 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:58 +0000
//
__int64 __fastcall AccountReviewPopup::adminAccountReviewFailed(AccountReviewPopup *this, int a2)
{
const char *v4; // x2
__int64 v5; // x21
void (__fastcall *v6)(__int64, __int64 *); // x3
void (__fastcall *v7)(__int64, __int64 *); // x23
__int64 *v8; // x1
unsigned __int64 v9; // x2
__int64 v10; // [xsp+40h] [xbp+40h] BYREF
if ( *((_DWORD *)this + 210) == a2 )
{
*((_BYTE *)this + 1232) = 0;
AccountReviewPopup::clearCard(this);
AccountReviewPopup::updateTabControls(this);
v5 = cocos2d::CCLabelBMFont::create(
(cocos2d::CCLabelBMFont *)"The account card failed to load. Close and reopen.",
"chatFont.fnt",
v4);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, 0.5);
v6 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 1072LL);
LOWORD(v10) = -26986;
BYTE2(v10) = -106;
v6(v5, &v10);
v7 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v10,
*((float *)this + 165),
(float)(*((float *)this + 166) + (float)(*((float *)this + 168) * 0.5)) - 40.0);
v7(v5, &v10);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v5, 1);
v8 = *((__int64 **)this + 185);
v9 = *((_QWORD *)this + 186);
v10 = v5;
if ( (unsigned __int64)v8 >= v9 )
{
std::vector::__push_back_slow_path((__int64)this + 1472, &v10);
}
else
{
if ( v8 )
{
*v8 = v5;
v8 = *((__int64 **)this + 185);
}
*((_QWORD *)this + 185) = v8 + 1;
}
}
return _stack_chk_guard;
}