//
// EditorSoundConfigUploadPopup::uploadEditorSoundFailed from 0x788e74 to 0x788f32 (190 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f48
//
// 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:59:35 +0000
//
int __fastcall EditorSoundConfigUploadPopup::uploadEditorSoundFailed(EditorSoundConfigUploadPopup *this, int a2)
{
int v3; // r2
cocos2d::CCNode **v5; // r0
int v6; // r0
int v7; // r0
int v8; // r0
int result; // r0
int *v10; // r0
int v11[5]; // [sp+8h] [bp-14h] BYREF
v3 = _stack_chk_guard;
*((_BYTE *)this + 732) = 0;
v5 = *((cocos2d::CCNode ***)this + 179);
v11[3] = v3;
if ( v5 )
LoadingCircle::fadeAndRemove(v5, a2, v3);
v6 = *((_DWORD *)this + 180);
*((_DWORD *)this + 179) = 0;
if ( v6 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 172))(v6, 1);
v7 = *((_DWORD *)this + 181);
if ( v7 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 172))(v7, 1);
v8 = *((_DWORD *)this + 182);
if ( v8 )
(*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 172))(v8, 1);
result = *((_DWORD *)this + 191);
if ( result )
result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 172))(result, 1);
if ( a2 == -1 )
{
memset(v11, 0, 12);
std::string::__init(v11, "Could not reach the server. Try again later.", 0x2Cu);
v10 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Upload Failed", (int)v11, (ButtonSprite *)"OK", nullptr);
(*(void (__fastcall **)(int *))(*v10 + 656))(v10);
return std::string::~string((int)v11);
}
return result;
}