{"type": "func", "start": 4300026784, "end": 4300026912, "name": "EditorSoundConfigInfoLayer::uploadActionFailed", "pseudocode": "// \n// EditorSoundConfigInfoLayer::uploadActionFailed from 0x1004d33a0 to 0x1004d3420 (128 bytes)\n// \n// 2 xrefs:\n// > sub_1004D343C @ 0x1004d3440\n// > <???> @ 0x1009890c8\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 11:06:29 +0000\n// \n\nvoid __fastcall EditorSoundConfigInfoLayer::uploadActionFailed(__int64 a1, int a2, int a3)\n{\n  __int64 v4; // x8\n  __int64 v5; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  if ( a3 == 73 )\n  {\n    v4 = *(_QWORD *)(a1 + 1088);\n    if ( v4 )\n    {\n      if ( *(_DWORD *)(v4 + 316) == a2 )\n      {\n        v5 = *(_QWORD *)(a1 + 1200);\n        if ( v5 )\n        {\n          sub_100009900(__p, \"Failed. Please try again later.\");\n          UploadActionPopup::showFailMessage(v5, (char *)__p);\n          if ( v7 < 0 )\n            operator delete(__p[0]);\n          *(_QWORD *)(*(_QWORD *)(a1 + 1200) + 664LL) = 0;\n          *(_QWORD *)(a1 + 1200) = 0;\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::uploadActionFailed from 0x1004d33a0 to 0x1004d3420 (128 bytes)\n; \n; 2 xrefs:\n; > sub_1004D343C @ 0x1004d3440\n; > <???> @ 0x1009890c8\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 11:06:29 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1004d33a0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1004d33a4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1004d33a8\nADD             X29, SP, #0x30                                         ; +0xc, 0x1004d33ac\nCMP             W2, #0x49 ; 'I'                                        ; +0x10, 0x1004d33b0\nB.NE            loc_1004D3410                                          ; +0x14, 0x1004d33b4\nMOV             X19, X0                                                ; +0x18, 0x1004d33b8\nLDR             X8, [X0,#0x440]                                        ; +0x1c, 0x1004d33bc\nCBZ             X8, loc_1004D3410                                      ; +0x20, 0x1004d33c0\nLDR             W8, [X8,#0x13C]                                        ; +0x24, 0x1004d33c4\nCMP             W8, W1                                                 ; +0x28, 0x1004d33c8\nB.NE            loc_1004D3410                                          ; +0x2c, 0x1004d33cc\nLDR             X20, [X19,#0x4B0]                                      ; +0x30, 0x1004d33d0\nCBZ             X20, loc_1004D3410                                     ; +0x34, 0x1004d33d4\nADRL            X1, aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x38, 0x1004d33d8\nADD             X0, SP, #0x30+__p; int                                 ; +0x40, 0x1004d33e0\nBL              sub_100009900                                          ; +0x44, 0x1004d33e4\nADD             X1, SP, #0x30+__p                                      ; +0x48, 0x1004d33e8\nMOV             X0, X20                                                ; +0x4c, 0x1004d33ec\nBL              UploadActionPopup__showFailMessage                     ; +0x50, 0x1004d33f0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x1004d33f4\nTBZ             W8, #0x1F, loc_1004D3404                               ; +0x58, 0x1004d33f8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x1004d33fc\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1004d3400\nLDR             X8, [X19,#0x4B0]                                       ; +0x64, 0x1004d3404\nSTR             XZR, [X8,#0x298]                                       ; +0x68, 0x1004d3408\nSTR             XZR, [X19,#0x4B0]                                      ; +0x6c, 0x1004d340c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x70, 0x1004d3410\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x74, 0x1004d3414\nADD             SP, SP, #0x40 ; '@'                                    ; +0x78, 0x1004d3418\nRET                                                                    ; +0x7c, 0x1004d341c", "xrefs": ["sub_1004D343C @ 0x1004d3440", "<???> @ 0x1009890c8"], "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"}