{"type": "func", "start": 4296091492, "end": 4296091620, "name": "EditLevelLayer::uploadActionFailed", "pseudocode": "// \n// EditLevelLayer::uploadActionFailed from 0x100112764 to 0x1001127e4 (128 bytes)\n// \n// 2 xrefs:\n// > sub_100112800 @ 0x100112804\n// > <???> @ 0x1008d0168\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 10:59:09 +0000\n// \n\nvoid __fastcall EditLevelLayer::uploadActionFailed(__int64 a1, int a2)\n{\n  __int64 v2; // x8\n  __int64 v4; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( v2 )\n  {\n    if ( *(_DWORD *)(v2 + 328) - *(_DWORD *)(v2 + 332) == a2 )\n    {\n      v4 = *(_QWORD *)(a1 + 528);\n      if ( v4 )\n      {\n        sub_100009900(__p, \"Failed. Please try again later.\");\n        UploadActionPopup::showFailMessage(v4, __p);\n        if ( v6 < 0 )\n          operator delete(__p[0]);\n        *(_QWORD *)(*(_QWORD *)(a1 + 528) + 664LL) = 0;\n        *(_QWORD *)(a1 + 528) = 0;\n      }\n    }\n  }\n}", "assembly": "; \n; EditLevelLayer::uploadActionFailed from 0x100112764 to 0x1001127e4 (128 bytes)\n; \n; 2 xrefs:\n; > sub_100112800 @ 0x100112804\n; > <???> @ 0x1008d0168\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 10:59:09 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100112764\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100112768\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10011276c\nADD             X29, SP, #0x30                                         ; +0xc, 0x100112770\nLDR             X8, [X0,#0x1D8]                                        ; +0x10, 0x100112774\nCBZ             X8, loc_1001127D4                                      ; +0x14, 0x100112778\nLDR             W9, [X8,#0x148]                                        ; +0x18, 0x10011277c\nLDR             W8, [X8,#0x14C]                                        ; +0x1c, 0x100112780\nSUB             W8, W9, W8                                             ; +0x20, 0x100112784\nCMP             W8, W1                                                 ; +0x24, 0x100112788\nB.NE            loc_1001127D4                                          ; +0x28, 0x10011278c\nMOV             X19, X0                                                ; +0x2c, 0x100112790\nLDR             X20, [X0,#0x210]                                       ; +0x30, 0x100112794\nCBZ             X20, loc_1001127D4                                     ; +0x34, 0x100112798\nADRL            X1, aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x38, 0x10011279c\nADD             X0, SP, #0x30+__p; int                                 ; +0x40, 0x1001127a4\nBL              sub_100009900                                          ; +0x44, 0x1001127a8\nADD             X1, SP, #0x30+__p                                      ; +0x48, 0x1001127ac\nMOV             X0, X20                                                ; +0x4c, 0x1001127b0\nBL              UploadActionPopup__showFailMessage                     ; +0x50, 0x1001127b4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x1001127b8\nTBZ             W8, #0x1F, loc_1001127C8                               ; +0x58, 0x1001127bc\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x1001127c0\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1001127c4\nLDR             X8, [X19,#0x210]                                       ; +0x64, 0x1001127c8\nSTR             XZR, [X8,#0x298]                                       ; +0x68, 0x1001127cc\nSTR             XZR, [X19,#0x210]                                      ; +0x6c, 0x1001127d0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x70, 0x1001127d4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x74, 0x1001127d8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x78, 0x1001127dc\nRET                                                                    ; +0x7c, 0x1001127e0", "xrefs": ["sub_100112800 @ 0x100112804", "<???> @ 0x1008d0168"], "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"}