{"type": "func", "start": 4296863540, "end": 4296863736, "name": "GJMultiplayerManager::onExitLobbyCompleted", "pseudocode": "// \n// GJMultiplayerManager::onExitLobbyCompleted from 0x1001cef34 to 0x1001ceff8 (196 bytes)\n// \n// 1 xrefs:\n// > GJMultiplayerManager::handleIt @ 0x1001ce8bc\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\nUploadActionDelegate *__fastcall GJMultiplayerManager::onExitLobbyCompleted(\n        GJMultiplayerManager *a1,\n        _QWORD *a2,\n        const char *a3)\n{\n  const char *v3; // x20\n  const char *v6; // x1\n  _BOOL4 v7; // w21\n  UploadActionDelegate *result; // x0\n  __int64 (**p_uploadActionFailed)(void); // x8\n  void *__p[2]; // [xsp+8h] [xbp-38h] BYREF\n  char v11; // [xsp+1Fh] [xbp-21h]\n\n  v3 = a3;\n  v6 = a3;\n  if ( a3[23] < 0 )\n    v6 = *(const char **)a3;\n  GJMultiplayerManager::removeDLFromActive(a1, v6);\n  if ( v3[23] < 0 )\n    v3 = *(const char **)v3;\n  atoi(v3);\n  sub_100009900(__p, \"-1\");\n  v7 = sub_1000045BC(a2, __p);\n  if ( v11 < 0 )\n    operator delete(__p[0]);\n  result = a1->m_uploadDelegate;\n  if ( v7 )\n  {\n    if ( !result )\n      return result;\n    p_uploadActionFailed = (__int64 (**)(void))&result->uploadActionFailed;\n  }\n  else\n  {\n    if ( !result )\n      return result;\n    p_uploadActionFailed = (__int64 (**)(void))result->__vftable;\n  }\n  return (UploadActionDelegate *)(*p_uploadActionFailed)();\n}", "assembly": "; \n; GJMultiplayerManager::onExitLobbyCompleted from 0x1001cef34 to 0x1001ceff8 (196 bytes)\n; \n; 1 xrefs:\n; > GJMultiplayerManager::handleIt @ 0x1001ce8bc\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, #0x50                                          ; +0x0, 0x1001cef34\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x1001cef38\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x1001cef3c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x1001cef40\nADD             X29, SP, #0x40                                         ; +0x10, 0x1001cef44\nMOV             X20, X2                                                ; +0x14, 0x1001cef48\nMOV             X21, X1                                                ; +0x18, 0x1001cef4c\nMOV             X19, X0                                                ; +0x1c, 0x1001cef50\nLDRSB           W8, [X2,#0x17]                                         ; +0x20, 0x1001cef54\nMOV             X1, X2                                                 ; +0x24, 0x1001cef58\nTBZ             W8, #0x1F, loc_1001CEF64                               ; +0x28, 0x1001cef5c\nLDR             X1, [X20]                                              ; +0x2c, 0x1001cef60\nMOV             X0, X19                                                ; +0x30, 0x1001cef64\nBL              GJMultiplayerManager__removeDLFromActive               ; +0x34, 0x1001cef68\nLDRSB           W8, [X20,#0x17]                                        ; +0x38, 0x1001cef6c\nTBZ             W8, #0x1F, loc_1001CEF78                               ; +0x3c, 0x1001cef70\nLDR             X20, [X20]                                             ; +0x40, 0x1001cef74\nMOV             X0, X20; char *                                        ; +0x44, 0x1001cef78\nBL              _atoi                                                  ; +0x48, 0x1001cef7c\nMOV             X20, X0                                                ; +0x4c, 0x1001cef80\nADRL            X1, a1_0; \"-1\"                                         ; +0x50, 0x1001cef84\nADD             X0, SP, #0x40+__p; int                                 ; +0x58, 0x1001cef8c\nBL              sub_100009900                                          ; +0x5c, 0x1001cef90\nADD             X1, SP, #0x40+__p                                      ; +0x60, 0x1001cef94\nMOV             X0, X21                                                ; +0x64, 0x1001cef98\nBL              sub_1000045BC                                          ; +0x68, 0x1001cef9c\nMOV             X21, X0                                                ; +0x6c, 0x1001cefa0\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x70, 0x1001cefa4\nTBZ             W8, #0x1F, loc_1001CEFB4                               ; +0x74, 0x1001cefa8\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x78, 0x1001cefac\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x1001cefb0\nLDR             X0, [X19,#0x168]                                       ; +0x80, 0x1001cefb4\nCBZ             W21, loc_1001CEFCC                                     ; +0x84, 0x1001cefb8\nCBZ             X0, loc_1001CEFE4                                      ; +0x88, 0x1001cefbc\nLDR             X8, [X0]                                               ; +0x8c, 0x1001cefc0\nADD             X8, X8, #8                                             ; +0x90, 0x1001cefc4\nB               loc_1001CEFD4                                          ; +0x94, 0x1001cefc8\nCBZ             X0, loc_1001CEFE4                                      ; +0x98, 0x1001cefcc\nLDR             X8, [X0]                                               ; +0x9c, 0x1001cefd0\nLDR             X8, [X8]                                               ; +0xa0, 0x1001cefd4\nMOV             X1, X20                                                ; +0xa4, 0x1001cefd8\nMOV             W2, #0x3A ; ':'                                        ; +0xa8, 0x1001cefdc\nBLR             X8                                                     ; +0xac, 0x1001cefe0\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xb0, 0x1001cefe4\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xb4, 0x1001cefe8\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xb8, 0x1001cefec\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xbc, 0x1001ceff0\nRET                                                                    ; +0xc0, 0x1001ceff4", "xrefs": ["GJMultiplayerManager::handleIt @ 0x1001ce8bc"], "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"}