//
// UploadActionPopup::showFailMessage from 0x1002d8930 to 0x1002d89f0 (192 bytes)
//
// 15 xrefs:
// > RateStarsLayer::uploadActionFailed @ 0x100080be4
// > EditLevelLayer::uploadActionFailed @ 0x1000ec644
// > GJUserCell::uploadActionFailed @ 0x100111e2c
// > GJRequestCell::uploadActionFailed @ 0x100112504
// > GJMessageCell::uploadActionFailed @ 0x100112b74
// > SupportLayer::uploadActionFailed @ 0x100192fb8
// > ProfilePage::uploadActionFailed @ 0x10019c0a4
// > GJRateLevelLayer::uploadActionFailed @ 0x1001b2c00
// > FRequestProfilePage::uploadActionFailed @ 0x1001b73dc
// > MessagesProfilePage::uploadActionFailed @ 0x1001cd200
// > ShareCommentLayer::uploadActionFailed @ 0x1001d5d38
// > FriendRequestPopup::uploadActionFailed @ 0x1002d9f6c
// > GJMessagePopup::uploadActionFailed @ 0x1002db9b0
// > GJWriteMessagePopup::uploadMessageFailed @ 0x1002dd544
// > RateDemonLayer::uploadActionFailed @ 0x100426a50
//
// 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 UploadActionPopup::showFailMessage(__int64 a1, char *a2)
{
cocos2d::CCSprite *v4; // x21
__int64 v5; // x0
__int64 v6; // x21
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v8; // [xsp+1Fh] [xbp-21h]
v4 = cocos2d::CCSprite::createWithSpriteFrameName("exMark_001.png");
v5 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 648) + 544LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 648) + 544LL));
((void (__fastcall *)(cocos2d::CCSprite *, __int64))v4->setPosition)(v4, v5);
(*(void (__fastcall **)(_QWORD, cocos2d::CCSprite *))(**(_QWORD **)(a1 + 576) + 440LL))(*(_QWORD *)(a1 + 576), v4);
LoadingCircle::fadeAndRemove(*(LoadingCircle **)(a1 + 648));
v6 = *(_QWORD *)(a1 + 640);
if ( a2[23] < 0 )
a2 = *(char **)a2;
sub_100009900(__p, a2);
TextArea::setString(v6, (const void **)__p);
if ( v8 < 0 )
operator delete(__p[0]);
*(_BYTE *)(a1 + 664) = 0;
}