//
// UpdateAccountSettingsPopup::updateSettingsFailed from 0x10028fde0 to 0x10028fe8e (174 bytes)
//
// 2 xrefs:
// > sub_10028FEB0 @ 0x10028febc
// > ??> @ 0x100b013c8
//
// 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 12:27:49 +0000
//
void __fastcall UpdateAccountSettingsPopup::updateSettingsFailed(__int64 a1, double a2)
{
char *v3; // r14
__int64 v4; // rax
__int64 v5; // rdi
char v6; // [rsp+8h] [rbp-28h] BYREF
void *v7[4]; // [rsp+9h] [rbp-27h] BYREF
v3 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"exMark_001.png", a2);
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 696) + 544LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 696) + 544LL));
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 184LL))(v3, v4);
(*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v3);
LoadingCircle::fadeAndRemove(*(_QWORD *)(a1 + 696));
v5 = *(_QWORD *)(a1 + 688);
v6 = 28;
strcpy((char *)v7, "Update Failed.");
TextArea::setString(v5, &v6);
if ( (v6 & 1) != 0 )
operator delete(*(void **)((char *)&v7[1] + 7));
}