{"type": "func", "start": 13422276, "end": 13422560, "name": "EditorSoundConfigInfoLayer::uploadActionFailed", "pseudocode": "// \n// EditorSoundConfigInfoLayer::uploadActionFailed from 0xcccec4 to 0xcccfe0 (284 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0xcccfe4\n// > <???> @ 0x782e0\n// > <???> @ 0x14fee98\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:25 +0000\n// \n\n__int64 __fastcall EditorSoundConfigInfoLayer::uploadActionFailed(EditorSoundConfigInfoLayer *this, int a2, int a3)\n{\n  __int64 v5; // x0\n  __int64 v6; // x21\n  _QWORD v7[2]; // [xsp+30h] [xbp+30h] BYREF\n  void *v8; // [xsp+40h] [xbp+40h]\n\n  if ( a3 == 73 )\n  {\n    v5 = *((_QWORD *)this + 136);\n    if ( v5 )\n    {\n      if ( *(_DWORD *)(v5 + 316) == a2 )\n      {\n        v6 = *((_QWORD *)this + 150);\n        if ( v6 )\n        {\n          v8 = (void *)operator new(0x20u);\n          v7[0] = 33;\n          v7[1] = 31;\n          strcpy((char *)v8, \"Failed. Please try again later.\");\n          UploadActionPopup::showFailMessage(v6, (char *)v7);\n          if ( (v7[0] & 1) != 0 )\n            operator delete(v8);\n          *(_QWORD *)(*((_QWORD *)this + 150) + 664LL) = 0;\n          *((_QWORD *)this + 150) = 0;\n        }\n      }\n    }\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::uploadActionFailed from 0xcccec4 to 0xcccfe0 (284 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0xcccfe4\n; > <???> @ 0x782e0\n; > <???> @ 0x14fee98\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:25 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0xcccec4\nCMP             W2, #0x49 ; 'I'                                        ; +0x4, 0xcccec8\nMOV             X29, SP                                                ; +0x8, 0xcccecc\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0xccced0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0xccced4\nMOV             X20, X0                                                ; +0x14, 0xccced8\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x18, 0xcccedc\nLDR             X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xcccee0\nLDR             X0, [X0]                                               ; +0x20, 0xcccee4\nSTR             X0, [X29,#0x50+var_8]                                  ; +0x24, 0xcccee8\nB.EQ            loc_CCCF14                                             ; +0x28, 0xccceec\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x2c, 0xcccef0\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x30, 0xcccef4\nLDR             X0, [X19]                                              ; +0x34, 0xcccef8\nCMP             X1, X0                                                 ; +0x38, 0xcccefc\nB.NE            loc_CCCFC0                                             ; +0x3c, 0xcccf00\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x40, 0xcccf04\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x44, 0xcccf08\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x48, 0xcccf0c\nRET                                                                    ; +0x4c, 0xcccf10\nLDR             X0, [X20,#0x440]                                       ; +0x50, 0xcccf14\nCBZ             X0, loc_CCCEF0                                         ; +0x54, 0xcccf18\nLDR             W0, [X0,#0x13C]                                        ; +0x58, 0xcccf1c\nCMP             W0, W1                                                 ; +0x5c, 0xcccf20\nB.NE            loc_CCCEF0                                             ; +0x60, 0xcccf24\nLDR             X21, [X20,#0x4B0]                                      ; +0x64, 0xcccf28\nCBZ             X21, loc_CCCEF0                                        ; +0x68, 0xcccf2c\nMOV             X0, #0x20 ; ' '; unsigned __int64                      ; +0x6c, 0xcccf30\nSTR             XZR, [X29,#0x50+var_20]                                ; +0x70, 0xcccf34\nSTR             XZR, [X29,#0x50+var_18]                                ; +0x74, 0xcccf38\nSTR             XZR, [X29,#0x50+var_10]                                ; +0x78, 0xcccf3c\nBL              _Znwm; operator new(ulong)                             ; +0x7c, 0xcccf40\nADRP            X3, #aFailedPleaseTr@PAGE; \"Failed. Please try again later.\" ; +0x80, 0xcccf44\nMOV             X2, X0                                                 ; +0x84, 0xcccf48\nADD             X3, X3, #aFailedPleaseTr@PAGEOFF; \"Failed. Please try again later.\" ; +0x88, 0xcccf4c\nSTR             X0, [X29,#0x50+var_10]                                 ; +0x8c, 0xcccf50\nMOV             X0, #0x21 ; '!'                                        ; +0x90, 0xcccf54\nSTR             X0, [X29,#0x50+var_20]                                 ; +0x94, 0xcccf58\nMOV             X0, #0x1F                                              ; +0x98, 0xcccf5c\nSTR             X0, [X29,#0x50+var_18]                                 ; +0x9c, 0xcccf60\nLDP             X4, X5, [X3]; \"Failed. Please try again later.\"        ; +0xa0, 0xcccf64\nLDR             X8, [X3,#(aFailedPleaseTr+0x10 - 0x113C4B8)]; \"ry again later.\" ; +0xa4, 0xcccf68\nMOV             X0, X21                                                ; +0xa8, 0xcccf6c\nLDR             W7, [X3,#(aFailedPleaseTr+0x18 - 0x113C4B8)]; \" later.\" ; +0xac, 0xcccf70\nADD             X1, X29, #0x50+var_20                                  ; +0xb0, 0xcccf74\nLDRH            W6, [X3,#(aFailedPleaseTr+0x1C - 0x113C4B8)]; \"er.\"    ; +0xb4, 0xcccf78\nLDRB            W3, [X3,#(aFailedPleaseTr+0x1E - 0x113C4B8)]; \".\"      ; +0xb8, 0xcccf7c\nSTRB            WZR, [X2,#0x1F]                                        ; +0xbc, 0xcccf80\nSTR             X8, [X2,#0x10]                                         ; +0xc0, 0xcccf84\nSTR             W7, [X2,#0x18]                                         ; +0xc4, 0xcccf88\nSTRH            W6, [X2,#0x1C]                                         ; +0xc8, 0xcccf8c\nSTRB            W3, [X2,#0x1E]                                         ; +0xcc, 0xcccf90\nSTP             X4, X5, [X2]                                           ; +0xd0, 0xcccf94\nBL              _ZN17UploadActionPopup15showFailMessageENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; UploadActionPopup::showFailMessage(std::string) ; +0xd4, 0xcccf98\nLDRB            W0, [X29,#0x50+var_20]                                 ; +0xd8, 0xcccf9c\nTBNZ            W0, #0, loc_CCCFB4                                     ; +0xdc, 0xcccfa0\nLDR             X0, [X20,#0x4B0]                                       ; +0xe0, 0xcccfa4\nSTR             XZR, [X0,#0x298]                                       ; +0xe4, 0xcccfa8\nSTR             XZR, [X20,#0x4B0]                                      ; +0xe8, 0xcccfac\nB               loc_CCCEF0                                             ; +0xec, 0xcccfb0\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0xf0, 0xcccfb4\nBL              _ZdlPv; operator delete(void *)                        ; +0xf4, 0xcccfb8\nB               loc_CCCFA4                                             ; +0xf8, 0xcccfbc\nBL              .__stack_chk_fail                                      ; +0xfc, 0xcccfc0\nLDRB            W1, [X29,#0x50+var_20]                                 ; +0x100, 0xcccfc4\nMOV             X19, X0                                                ; +0x104, 0xcccfc8\nTBZ             W1, #0, loc_CCCFD8                                     ; +0x108, 0xcccfcc\nLDR             X0, [X29,#0x50+var_10]; void *                         ; +0x10c, 0xcccfd0\nBL              _ZdlPv; operator delete(void *)                        ; +0x110, 0xcccfd4\nMOV             X0, X19                                                ; +0x114, 0xcccfd8\nBL              _Unwind_Resume                                         ; +0x118, 0xcccfdc", "xrefs": ["`non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0xcccfe4", "<???> @ 0x782e0", "<???> @ 0x14fee98"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}