{"type": "func", "start": 4296747956, "end": 4296748080, "name": "GJRateLevelLayer::uploadActionFailed", "pseudocode": "// \n// GJRateLevelLayer::uploadActionFailed from 0x1001b2bb4 to 0x1001b2c30 (124 bytes)\n// \n// 2 xrefs:\n// > sub_1001B2C4C @ 0x1001b2c50\n// > <???> @ 0x1007b0d00\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 GJRateLevelLayer::uploadActionFailed(GJRateLevelLayer *a1, int a2, int a3)\n{\n  UploadActionPopup *m_uploadPopup; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  if ( a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed == a2 )\n  {\n    m_uploadPopup = a1->m_uploadPopup;\n    if ( m_uploadPopup )\n    {\n      sub_100009900(__p, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(m_uploadPopup, __p);\n      if ( v6 < 0 )\n        operator delete(__p[0]);\n      a1->m_uploadPopup->m_delegate = nullptr;\n      a1->m_uploadPopup = nullptr;\n    }\n  }\n}", "assembly": "; \n; GJRateLevelLayer::uploadActionFailed from 0x1001b2bb4 to 0x1001b2c30 (124 bytes)\n; \n; 2 xrefs:\n; > sub_1001B2C4C @ 0x1001b2c50\n; > <???> @ 0x1007b0d00\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, 0x1001b2bb4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001b2bb8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001b2bbc\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001b2bc0\nLDR             X8, [X0,#0x3D0]                                        ; +0x10, 0x1001b2bc4\nLDR             W9, [X8,#0x148]                                        ; +0x14, 0x1001b2bc8\nLDR             W8, [X8,#0x14C]                                        ; +0x18, 0x1001b2bcc\nSUB             W8, W9, W8                                             ; +0x1c, 0x1001b2bd0\nCMP             W8, W1                                                 ; +0x20, 0x1001b2bd4\nB.NE            loc_1001B2C20                                          ; +0x24, 0x1001b2bd8\nMOV             X19, X0                                                ; +0x28, 0x1001b2bdc\nLDR             X20, [X0,#0x400]                                       ; +0x2c, 0x1001b2be0\nCBZ             X20, loc_1001B2C20                                     ; +0x30, 0x1001b2be4\nADRL            X1, aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x34, 0x1001b2be8\nADD             X0, SP, #0x30+__p; int                                 ; +0x3c, 0x1001b2bf0\nBL              sub_100009900                                          ; +0x40, 0x1001b2bf4\nADD             X1, SP, #0x30+__p                                      ; +0x44, 0x1001b2bf8\nMOV             X0, X20                                                ; +0x48, 0x1001b2bfc\nBL              UploadActionPopup__showFailMessage                     ; +0x4c, 0x1001b2c00\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x1001b2c04\nTBZ             W8, #0x1F, loc_1001B2C14                               ; +0x54, 0x1001b2c08\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x1001b2c0c\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x1001b2c10\nLDR             X8, [X19,#0x400]                                       ; +0x60, 0x1001b2c14\nSTR             XZR, [X8,#0x278]                                       ; +0x64, 0x1001b2c18\nSTR             XZR, [X19,#0x400]                                      ; +0x68, 0x1001b2c1c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x6c, 0x1001b2c20\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x70, 0x1001b2c24\nADD             SP, SP, #0x40 ; '@'                                    ; +0x74, 0x1001b2c28\nRET                                                                    ; +0x78, 0x1001b2c2c", "xrefs": ["sub_1001B2C4C @ 0x1001b2c50", "<???> @ 0x1007b0d00"], "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"}