{"type": "func", "start": 7900788, "end": 7900978, "name": "EditorSoundConfigUploadPopup::uploadEditorSoundFailed", "pseudocode": "// \n// EditorSoundConfigUploadPopup::uploadEditorSoundFailed from 0x788e74 to 0x788f32 (190 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f48\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:59:35 +0000\n// \n\nint __fastcall EditorSoundConfigUploadPopup::uploadEditorSoundFailed(EditorSoundConfigUploadPopup *this, int a2)\n{\n  int v3; // r2\n  cocos2d::CCNode **v5; // r0\n  int v6; // r0\n  int v7; // r0\n  int v8; // r0\n  int result; // r0\n  int *v10; // r0\n  int v11[5]; // [sp+8h] [bp-14h] BYREF\n\n  v3 = _stack_chk_guard;\n  *((_BYTE *)this + 732) = 0;\n  v5 = *((cocos2d::CCNode ***)this + 179);\n  v11[3] = v3;\n  if ( v5 )\n    LoadingCircle::fadeAndRemove(v5, a2, v3);\n  v6 = *((_DWORD *)this + 180);\n  *((_DWORD *)this + 179) = 0;\n  if ( v6 )\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 172))(v6, 1);\n  v7 = *((_DWORD *)this + 181);\n  if ( v7 )\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 172))(v7, 1);\n  v8 = *((_DWORD *)this + 182);\n  if ( v8 )\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v8 + 172))(v8, 1);\n  result = *((_DWORD *)this + 191);\n  if ( result )\n    result = (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 172))(result, 1);\n  if ( a2 == -1 )\n  {\n    memset(v11, 0, 12);\n    std::string::__init(v11, \"Could not reach the server. Try again later.\", 0x2Cu);\n    v10 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)\"Upload Failed\", (int)v11, (ButtonSprite *)\"OK\", nullptr);\n    (*(void (__fastcall **)(int *))(*v10 + 656))(v10);\n    return std::string::~string((int)v11);\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundConfigUploadPopup::uploadEditorSoundFailed from 0x788e74 to 0x788f32 (190 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f48\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:59:35 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x788E7C)                ; +0x0, 0x788e74\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x788e76\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x788e78\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x788e7a\nMOV             R4, R0                                                 ; +0x8, 0x788e7c\nMOVS            R5, #0                                                 ; +0xa, 0x788e7e\nLDR             R2, [R3]                                               ; +0xc, 0x788e80\nSUB             SP, SP, #0x1C                                          ; +0xe, 0x788e82\nSTRB.W          R5, [R0,#0x2DC]                                        ; +0x10, 0x788e84\nMOV             R7, R1                                                 ; +0x14, 0x788e88\nLDR.W           R0, [R0,#0x2CC]; this                                  ; +0x16, 0x788e8a\nMOV             R6, R3                                                 ; +0x1a, 0x788e8e\nSTR             R2, [SP,#0x1C+var_8]                                   ; +0x1c, 0x788e90\nCBZ             R0, loc_788E98                                         ; +0x1e, 0x788e92\nBL              _ZN13LoadingCircle13fadeAndRemoveEv; LoadingCircle::fadeAndRemove(void) ; +0x20, 0x788e94\nLDR.W           R0, [R4,#0x2D0]                                        ; +0x24, 0x788e98\nSTR.W           R5, [R4,#0x2CC]                                        ; +0x28, 0x788e9c\nCBZ             R0, loc_788EAC                                         ; +0x2c, 0x788ea0\nLDR             R3, [R0]                                               ; +0x2e, 0x788ea2\nMOVS            R1, #1                                                 ; +0x30, 0x788ea4\nLDR.W           R3, [R3,#0xAC]                                         ; +0x32, 0x788ea6\nBLX             R3                                                     ; +0x36, 0x788eaa\nLDR.W           R0, [R4,#0x2D4]                                        ; +0x38, 0x788eac\nCBZ             R0, loc_788EBC                                         ; +0x3c, 0x788eb0\nLDR             R3, [R0]                                               ; +0x3e, 0x788eb2\nMOVS            R1, #1                                                 ; +0x40, 0x788eb4\nLDR.W           R3, [R3,#0xAC]                                         ; +0x42, 0x788eb6\nBLX             R3                                                     ; +0x46, 0x788eba\nLDR.W           R0, [R4,#0x2D8]                                        ; +0x48, 0x788ebc\nCBZ             R0, loc_788ECC                                         ; +0x4c, 0x788ec0\nLDR             R3, [R0]                                               ; +0x4e, 0x788ec2\nMOVS            R1, #1                                                 ; +0x50, 0x788ec4\nLDR.W           R3, [R3,#0xAC]                                         ; +0x52, 0x788ec6\nBLX             R3                                                     ; +0x56, 0x788eca\nLDR.W           R0, [R4,#0x2FC]                                        ; +0x58, 0x788ecc\nCBZ             R0, loc_788EDC                                         ; +0x5c, 0x788ed0\nLDR             R3, [R0]                                               ; +0x5e, 0x788ed2\nMOVS            R1, #1                                                 ; +0x60, 0x788ed4\nLDR.W           R3, [R3,#0xAC]                                         ; +0x62, 0x788ed6\nBLX             R3                                                     ; +0x66, 0x788eda\nADDS            R7, #1                                                 ; +0x68, 0x788edc\nBNE             loc_788F22                                             ; +0x6a, 0x788ede\nADD             R5, SP, #0x1C+var_14                                   ; +0x6c, 0x788ee0\nLDR             R1, =(aCouldNotReachT - 0x788EEE); \"Could not reach the server. Try again l\"... ; +0x6e, 0x788ee2\nMOVS            R2, #0x2C ; ','                                        ; +0x70, 0x788ee4\nMOVS            R4, #0                                                 ; +0x72, 0x788ee6\nMOV             R0, R5                                                 ; +0x74, 0x788ee8\nADD             R1, PC; \"Could not reach the server. Try again l\"...   ; +0x76, 0x788eea\nSTR             R4, [SP,#0x1C+var_14]                                  ; +0x78, 0x788eec\nSTR             R4, [SP,#0x1C+var_10]                                  ; +0x7a, 0x788eee\nSTR             R4, [SP,#0x1C+var_C]                                   ; +0x7c, 0x788ef0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x7e, 0x788ef2\nLDR             R1, =(aUploadFailed - 0x788F04); \"Upload Failed\"       ; +0x82, 0x788ef6\nMOV             R0, R4                                                 ; +0x84, 0x788ef8\nLDR             R3, =(aOk - 0x788F06); \"OK\"                            ; +0x86, 0x788efa\nMOV             R2, R5                                                 ; +0x88, 0x788efc\nSTR             R4, [SP,#0x1C+var_1C]                                  ; +0x8a, 0x788efe\nADD             R1, PC; \"Upload Failed\"                                ; +0x8c, 0x788f00\nADD             R3, PC; \"OK\"                                           ; +0x8e, 0x788f02\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*) ; +0x90, 0x788f04\nLDR             R3, [R0]                                               ; +0x94, 0x788f08\nLDR.W           R3, [R3,#0x290]                                        ; +0x96, 0x788f0a\nBLX             R3                                                     ; +0x9a, 0x788f0e\nMOV             R0, R5                                                 ; +0x9c, 0x788f10\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x9e, 0x788f12\nB               loc_788F22                                             ; +0xa2, 0x788f16\nMOV             R0, R5                                                 ; +0xa4, 0x788f18\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa6, 0x788f1a\nBL              __cxa_end_cleanup                                      ; +0xaa, 0x788f1e\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0xae, 0x788f22\nLDR             R3, [R6]                                               ; +0xb0, 0x788f24\nCMP             R2, R3                                                 ; +0xb2, 0x788f26\nBEQ             loc_788F2E                                             ; +0xb4, 0x788f28\nBLX             __stack_chk_fail                                       ; +0xb6, 0x788f2a\nADD             SP, SP, #0x1C                                          ; +0xba, 0x788f2e\nPOP             {R4-R7,PC}                                             ; +0xbc, 0x788f30", "xrefs": ["`non-virtual thunk to'EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x788f48"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}