//
// UploadActionPopup::showSuccessMessage from 0x140295720 to 0x140295827 (263 bytes)
//
// 16 xrefs:
// > GJUserCell::uploadActionFinished @ 0x1400bc06c
// > GJRequestCell::uploadActionFinished @ 0x1400bd22d
// > GJMessageCell::uploadActionFinished @ 0x1400be40c
// > EditLevelLayer::uploadActionFinished @ 0x1400d9be2
// > FRequestProfilePage::uploadActionFinished @ 0x14013f02c
// > FriendRequestPopup::uploadActionFinished @ 0x14029710a
// > GJMessagePopup::uploadActionFinished @ 0x140298cca
// > GJWriteMessagePopup::uploadMessageFinished @ 0x14029ad80
// > GJRateLevelLayer::uploadActionFinished @ 0x1402f6d67
// > MessagesProfilePage::uploadActionFinished @ 0x140337a3c
// > ProfilePage::uploadActionFinished @ 0x1403c4f81
// > RateDemonLayer::uploadActionFinished @ 0x1403c94b9
// > RateStarsLayer::uploadActionFinished @ 0x1403cad65
// > ShareCommentLayer::uploadActionFinished @ 0x14048eaa0
// > SupportLayer::uploadActionFinished @ 0x1404c9cb3
// > ??> @ 0x1406d1b98
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall UploadActionPopup::showSuccessMessage(__int64 a1, _QWORD *a2)
{
struct cocos2d::CCSprite *v4; // rdi
cocos2d::CCSprite_vtbl *v5; // rbx
__int64 v6; // rax
_BYTE *v7; // rdx
size_t v8; // r8
__int128 v9; // [rsp+20h] [rbp-58h] BYREF
__int64 v10; // [rsp+30h] [rbp-48h]
__int64 v11; // [rsp+38h] [rbp-40h]
_QWORD *v12; // [rsp+48h] [rbp-30h]
v12 = a2;
v4 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_completesIcon_001.png");
((void (__fastcall *)(struct cocos2d::CCSprite *))v4->setScale_0)(v4);
v5 = v4->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 648) + 544LL) + 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 648) + 544LL));
v5->setPosition_0(v4, (const cocos2d::CCPoint *)v6);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCSprite *))(**(_QWORD **)(a1 + 576) + 448LL))(
*(_QWORD *)(a1 + 576),
v4);
LoadingCircle::fadeAndRemove(*(LoadingCircle **)(a1 + 648));
v7 = a2;
if ( a2[3] > 0xFu )
v7 = (_BYTE *)*a2;
v9 = 0;
v10 = 0;
v11 = 0;
v8 = -1;
do
++v8;
while ( v7[v8] );
sub_14003A930(&v9, v7, v8);
TextArea::setString(*(TextArea **)(a1 + 640), (__int64)&v9);
*(_BYTE *)(a1 + 664) = 1;
sub_14003A830((__int64)a2);
}