//
// UploadActionPopup::showFailMessage from 0x5da16c to 0x5da210 (164 bytes)
//
// 23 xrefs:
// > GJMessageCell::uploadActionFailed @ 0x4282a2
// > EditLevelLayer::uploadActionFailed @ 0x49fd0e
// > ParentalPrivacyPopup::updateSettingsFailed @ 0x52fbe4
// > SupportLayer::uploadActionFailed @ 0x539b66
// > GJRateLevelLayer::uploadActionFailed @ 0x566588
// > GJRateLevelListLayer::uploadActionFailed @ 0x56696a
// > GJRateEditorSoundLayer::uploadActionFailed @ 0x566d16
// > RateStarsLayer::uploadActionFailed @ 0x56950a
// > UploadActionPopup::showFailMessageOrDismiss @ 0x5da240
// > GJMessagePopup::uploadActionFailed @ 0x5da342
// > GJWriteMessagePopup::uploadMessageFailed @ 0x5da3ae
// > MessagesProfilePage::uploadActionFailed @ 0x5efb12
// > FRequestProfilePage::uploadActionFailed @ 0x5f17da
// > FriendsProfilePage::uploadActionFailed @ 0x5f49c8
// > ProfilePage::uploadActionFailed @ 0x5f71ce
// > RateDemonLayer::uploadActionFailed @ 0x6167a2
// > MPLobbyLayer::uploadActionFailed @ 0x66ac52
// > AccountReviewPopup::adminDeleteCommentsFailed @ 0x733012
// > AccountBanPopup::actionFailed @ 0x7633e6
// > CreatorSettingsPopup::uploadActionFailed @ 0x765fe6
// > EditorSoundConfigInfoLayer::uploadActionFailed @ 0x785498
// > PlatformerControlsPopup::uploadActionFailed @ 0x79df30
// > RateStarsModLayer::uploadActionFailed @ 0x79e906
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:11 +0000
//
int __fastcall UploadActionPopup::showFailMessage(int a1, const char *a2)
{
const char *v3; // r4
int v4; // r5
void (__fastcall *v5)(int, int); // r6
int v6; // r0
int v7; // r1
int v8; // r2
int v9; // r3
int v10; // r3
int v11; // r9
size_t v12; // r0
int result; // r0
int v14[3]; // [sp+0h] [bp-14h] BYREF
v3 = a2;
v4 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"exMark_001.png", a2);
v5 = *(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 92);
v6 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*(_DWORD *)(a1 + 528) + 440) + 96))(*(_DWORD *)(*(_DWORD *)(a1 + 528) + 440));
v5(v4, v6);
(*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 460) + 228))(*(_DWORD *)(a1 + 460), v4);
LoadingCircle::fadeAndRemove(*(cocos2d::CCNode ***)(a1 + 528), v7, v8);
v9 = *(unsigned __int8 *)v3;
v14[0] = 0;
v10 = v9 << 31;
v14[1] = 0;
if ( v10 >= 0 )
++v3;
v14[2] = 0;
if ( v10 < 0 )
v3 = *((const char **)v3 + 2);
v11 = *(_DWORD *)(a1 + 524);
v12 = strlen(v3);
std::string::__init(v14, v3, v12);
TextArea::setString(v11, v14);
result = std::string::~string((int)v14);
*(_BYTE *)(a1 + 536) = 0;
return result;
}