//
// UploadActionPopup::showSuccessMessage from 0xa28f08 to 0xa29048 (320 bytes)
//
// 28 xrefs:
// > GJMessageCell::uploadActionFinished @ 0x743220
// > EditLevelLayer::uploadActionFinished @ 0x7ee980
// > ParentalPrivacyPopup::updateSettingsFinished @ 0x8f2f60
// > SupportLayer::uploadActionFinished @ 0x901e14
// > SupportLayer::uploadActionFinished @ 0x901e5c
// > SupportLayer::uploadActionFinished @ 0x901e94
// > ShareCommentLayer::uploadActionFinished @ 0x90e090
// > GJRateLevelListLayer::uploadActionFinished @ 0x950b2c
// > GJRateEditorSoundLayer::uploadActionFinished @ 0x950d14
// > GJRateLevelLayer::uploadActionFinished @ 0x950f00
// > RateStarsLayer::uploadActionFinished @ 0x9576f8
// > GJWriteMessagePopup::uploadMessageFinished @ 0xa290d0
// > FriendRequestPopup::uploadActionFinished @ 0xa2c1dc
// > GJMessagePopup::uploadActionFinished @ 0xa2c374
// > MessagesProfilePage::uploadActionFinished @ 0xa4ae34
// > FRequestProfilePage::uploadActionFinished @ 0xa4dbf0
// > FriendsProfilePage::uploadActionFinished @ 0xa4fb20
// > ProfilePage::uploadActionFinished @ 0xa5ccd0
// > RateDemonLayer::uploadActionFinished @ 0xa841f8
// > MPLobbyLayer::uploadActionFinished @ 0xb06248
// > AccountReviewPopup::adminDeleteCommentsFinished @ 0xc3fee0
// > AccountBanPopup::banLanded @ 0xc916e4
// > CreatorSettingsPopup::uploadActionFinished @ 0xc96f08
// > EditorSoundConfigInfoLayer::uploadActionFinished @ 0xccf9c8
// > PlatformerControlsPopup::uploadActionFinished @ 0xcfbd7c
// > PlatformerControlsPopup::uploadActionFinished @ 0xcfbdb8
// > RateStarsModLayer::uploadActionFinished @ 0xcfca50
// > ??> @ 0x4abc0
//
// This function is hookable on this platform (idp: arm, 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:59:43 +0000
//
__int64 __fastcall UploadActionPopup::showSuccessMessage(__int64 a1, __int64 a2)
{
__int64 v4; // x22
void (__fastcall *v5)(__int64, __int64); // x24
__int64 v6; // x0
__int64 *v7; // x24
char *v8; // x20
size_t v9; // x0
__int64 v11[2]; // [xsp+40h] [xbp+40h] BYREF
void *v12; // [xsp+50h] [xbp+50h]
v4 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_completesIcon_001.png", _stack_chk_guard);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 1.5);
v5 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 680) + 544LL) + 192LL))(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 544LL));
v5(v4, v6);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v4);
LoadingCircle::fadeAndRemove(*(cocos2d::CCNode ***)(a1 + 680));
v7 = *(__int64 **)(a1 + 672);
v8 = (char *)(a2 + 1);
if ( (*(_BYTE *)a2 & 1) != 0 )
v8 = *(char **)(a2 + 16);
v11[0] = 0;
v11[1] = 0;
v12 = nullptr;
v9 = strlen(v8);
std::string::__init(v11, v8, v9);
TextArea::setString(v7, (char *)v11);
if ( (v11[0] & 1) != 0 )
operator delete(v12);
*(_BYTE *)(a1 + 696) = 1;
return _stack_chk_guard;
}