{"type": "func", "start": 4296090788, "end": 4296090932, "name": "GJRequestCell::uploadActionFailed", "pseudocode": "// \n// GJRequestCell::uploadActionFailed from 0x1001124a4 to 0x100112534 (144 bytes)\n// \n// 2 xrefs:\n// > sub_100112550 @ 0x100112554\n// > <???> @ 0x10078d5e8\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 GJRequestCell::uploadActionFailed(GJRequestCell *a1, int a2, int a3)\n{\n  GameLevelManager *v5; // x0\n  GJFriendRequest *v6; // x0\n  UploadActionPopup *m_popup; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v9; // [xsp+1Fh] [xbp-11h]\n\n  if ( a1->m_score )\n  {\n    v5 = GameLevelManager::sharedState();\n    v6 = GameLevelManager::friendRequestFromAccountID(v5, a1->m_score->m_accountID);\n    if ( !v6 || v6->m_accountID == a2 )\n    {\n      m_popup = a1->m_popup;\n      if ( m_popup )\n      {\n        sub_100009900(__p, \"Failed. Please try again later.\");\n        UploadActionPopup::showFailMessage(m_popup, __p);\n        if ( v9 < 0 )\n          operator delete(__p[0]);\n        a1->m_popup->m_delegate = nullptr;\n        a1->m_popup = nullptr;\n      }\n    }\n  }\n}", "assembly": "; \n; GJRequestCell::uploadActionFailed from 0x1001124a4 to 0x100112534 (144 bytes)\n; \n; 2 xrefs:\n; > sub_100112550 @ 0x100112554\n; > <???> @ 0x10078d5e8\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, 0x1001124a4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001124a8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001124ac\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001124b0\nLDR             X8, [X0,#0x240]                                        ; +0x10, 0x1001124b4\nCBZ             X8, loc_100112524                                      ; +0x14, 0x1001124b8\nMOV             X20, X1                                                ; +0x18, 0x1001124bc\nMOV             X19, X0                                                ; +0x1c, 0x1001124c0\nBL              GameLevelManager__sharedState                          ; +0x20, 0x1001124c4\nLDR             X8, [X19,#0x240]                                       ; +0x24, 0x1001124c8\nLDR             W1, [X8,#0x178]                                        ; +0x28, 0x1001124cc\nBL              GameLevelManager__friendRequestFromAccountID           ; +0x2c, 0x1001124d0\nCBZ             X0, loc_1001124E4                                      ; +0x30, 0x1001124d4\nLDR             W8, [X0,#0x140]                                        ; +0x34, 0x1001124d8\nCMP             W8, W20                                                ; +0x38, 0x1001124dc\nB.NE            loc_100112524                                          ; +0x3c, 0x1001124e0\nLDR             X20, [X19,#0x248]                                      ; +0x40, 0x1001124e4\nCBZ             X20, loc_100112524                                     ; +0x44, 0x1001124e8\nADRL            X1, aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x48, 0x1001124ec\nADD             X0, SP, #0x30+__p; int                                 ; +0x50, 0x1001124f4\nBL              sub_100009900                                          ; +0x54, 0x1001124f8\nADD             X1, SP, #0x30+__p                                      ; +0x58, 0x1001124fc\nMOV             X0, X20                                                ; +0x5c, 0x100112500\nBL              UploadActionPopup__showFailMessage                     ; +0x60, 0x100112504\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x64, 0x100112508\nTBZ             W8, #0x1F, loc_100112518                               ; +0x68, 0x10011250c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x6c, 0x100112510\nBL              __ZdlPv; operator delete(void *)                       ; +0x70, 0x100112514\nLDR             X8, [X19,#0x248]                                       ; +0x74, 0x100112518\nSTR             XZR, [X8,#0x278]                                       ; +0x78, 0x10011251c\nSTR             XZR, [X19,#0x248]                                      ; +0x7c, 0x100112520\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x100112524\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x100112528\nADD             SP, SP, #0x40 ; '@'                                    ; +0x88, 0x10011252c\nRET                                                                    ; +0x8c, 0x100112530", "xrefs": ["sub_100112550 @ 0x100112554", "<???> @ 0x10078d5e8"], "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"}