{"type": "func", "start": 4295935476, "end": 4295935604, "name": "EditLevelLayer::uploadActionFailed", "pseudocode": "// \n// EditLevelLayer::uploadActionFailed from 0x1000ec5f4 to 0x1000ec674 (128 bytes)\n// \n// 2 xrefs:\n// > sub_1000EC690 @ 0x1000ec694\n// > <???> @ 0x1007824b8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall EditLevelLayer::uploadActionFailed(EditLevelLayer *a1, int a2, int a3)\n{\n  GJGameLevel *m_level; // x8\n  UploadActionPopup *m_descriptionPopup; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  m_level = a1->m_level;\n  if ( m_level )\n  {\n    if ( m_level->m_levelID.random - m_level->m_levelID.seed == a2 )\n    {\n      m_descriptionPopup = a1->m_descriptionPopup;\n      if ( m_descriptionPopup )\n      {\n        sub_100009900(__p, \"Failed. Please try again later.\");\n        UploadActionPopup::showFailMessage(m_descriptionPopup, __p);\n        if ( v7 < 0 )\n          operator delete(__p[0]);\n        a1->m_descriptionPopup->m_delegate = nullptr;\n        a1->m_descriptionPopup = nullptr;\n      }\n    }\n  }\n}", "assembly": "; \n; EditLevelLayer::uploadActionFailed from 0x1000ec5f4 to 0x1000ec674 (128 bytes)\n; \n; 2 xrefs:\n; > sub_1000EC690 @ 0x1000ec694\n; > <???> @ 0x1007824b8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000ec5f4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000ec5f8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000ec5fc\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000ec600\nLDR             X8, [X0,#0x1C8]                                        ; +0x10, 0x1000ec604\nCBZ             X8, loc_1000EC664                                      ; +0x14, 0x1000ec608\nLDR             W9, [X8,#0x148]                                        ; +0x18, 0x1000ec60c\nLDR             W8, [X8,#0x14C]                                        ; +0x1c, 0x1000ec610\nSUB             W8, W9, W8                                             ; +0x20, 0x1000ec614\nCMP             W8, W1                                                 ; +0x24, 0x1000ec618\nB.NE            loc_1000EC664                                          ; +0x28, 0x1000ec61c\nMOV             X19, X0                                                ; +0x2c, 0x1000ec620\nLDR             X20, [X0,#0x200]                                       ; +0x30, 0x1000ec624\nCBZ             X20, loc_1000EC664                                     ; +0x34, 0x1000ec628\nADRL            X1, aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x38, 0x1000ec62c\nADD             X0, SP, #0x30+__p; int                                 ; +0x40, 0x1000ec634\nBL              sub_100009900                                          ; +0x44, 0x1000ec638\nADD             X1, SP, #0x30+__p                                      ; +0x48, 0x1000ec63c\nMOV             X0, X20                                                ; +0x4c, 0x1000ec640\nBL              UploadActionPopup__showFailMessage                     ; +0x50, 0x1000ec644\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x1000ec648\nTBZ             W8, #0x1F, loc_1000EC658                               ; +0x58, 0x1000ec64c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x1000ec650\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x1000ec654\nLDR             X8, [X19,#0x200]                                       ; +0x64, 0x1000ec658\nSTR             XZR, [X8,#0x278]                                       ; +0x68, 0x1000ec65c\nSTR             XZR, [X19,#0x200]                                      ; +0x6c, 0x1000ec660\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x70, 0x1000ec664\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x74, 0x1000ec668\nADD             SP, SP, #0x40 ; '@'                                    ; +0x78, 0x1000ec66c\nRET                                                                    ; +0x7c, 0x1000ec670", "xrefs": ["sub_1000EC690 @ 0x1000ec694", "<???> @ 0x1007824b8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}