//
// UpdateAccountSettingsPopup::updateSettingsFailed from 0x1002a3d10 to 0x1002a3dbe (174 bytes)
//
// 2 xrefs:
// > sub_1002A3DE0 @ 0x1002a3dec
// > ??> @ 0x1008fa108
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall UpdateAccountSettingsPopup::updateSettingsFailed(UpdateAccountSettingsPopup *a1)
{
cocos2d::CCSprite *v2; // r14
__int64 v3; // rax
TextArea *m_textArea; // rdi
char v5; // [rsp+8h] [rbp-28h] BYREF
void *v6[4]; // [rsp+9h] [rbp-27h] BYREF
v2 = cocos2d::CCSprite::createWithSpriteFrameName("exMark_001.png");
v3 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_loadingCircle->m_sprite->getPosition)(a1->m_loadingCircle->m_sprite);
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v2->setPosition)(v2, v3);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCSprite *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v2);
LoadingCircle::fadeAndRemove(a1->m_loadingCircle);
m_textArea = a1->m_textArea;
v5 = 28;
strcpy((char *)v6, "Update Failed.");
TextArea::setString(m_textArea, &v5);
if ( (v5 & 1) != 0 )
operator delete(*(void **)((char *)&v6[1] + 7));
}