//
// AccountReviewPopup::adminAccountReviewFailed from 0x1400b0d40 to 0x1400b0e41 (257 bytes)
//
// 4 xrefs:
// > ??> @ 0x140722350
// > ??> @ 0x14088ed70
// > ??> @ 0x14088ed80
// > ??> @ 0x140913520
//
// 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
//
void __fastcall AccountReviewPopup::adminAccountReviewFailed(__int64 a1, int a2)
{
struct cocos2d::CCLabelBMFont *v3; // rdi
void (__fastcall **v4)(__int64, __int16 *); // rdx
__int64 v5; // rbx
__int64 v6; // rax
struct cocos2d::CCLabelBMFont *v7; // [rsp+30h] [rbp+8h] BYREF
__int16 v8; // [rsp+38h] [rbp+10h] BYREF
char v9; // [rsp+3Ah] [rbp+12h]
if ( a2 == *(_DWORD *)(a1 + 64) )
{
*(_BYTE *)(a1 + 544) = 0;
AccountReviewPopup::clearCard(a1 - 776);
AccountReviewPopup::updateTabControls(a1 - 776);
v3 = cocos2d::CCLabelBMFont::create("The account card failed to load. Close and reopen.", "chatFont.fnt");
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v3 + 160LL))(v3);
v8 = -26986;
v4 = *((void (__fastcall ***)(__int64, __int16 *))v3 + 46);
v9 = -106;
(*v4)((__int64)v3 + 368, &v8);
v5 = *(_QWORD *)v3;
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)&v7,
*(float *)(a1 - 112),
(float)((float)(*(float *)(a1 - 100) * 0.5) + *(float *)(a1 - 108)) - 40.0);
(*(void (__fastcall **)(struct cocos2d::CCLabelBMFont *, __int64))(v5 + 184))(v3, v6);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCLabelBMFont *, __int64))(**(_QWORD **)(a1 - 192) + 456LL))(
*(_QWORD *)(a1 - 192),
v3,
1);
v7 = v3;
sub_1400BD3C0(a1 + 776, &v7);
}
}