{"type": "func", "start": 4297485916, "end": 4297486112, "name": "GJMultiplayerManager::onExitLobbyCompleted", "pseudocode": "// \n// GJMultiplayerManager::onExitLobbyCompleted from 0x100266e5c to 0x100266f20 (196 bytes)\n// \n// 1 xrefs:\n// > GJMultiplayerManager::handleIt @ 0x1002667ec\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 11:01:41 +0000\n// \n\n__int64 (***__fastcall GJMultiplayerManager::onExitLobbyCompleted(__int64 a1, _QWORD *a2, const char *a3))(void)\n{\n  const char *v3; // x20\n  const char *v6; // x1\n  _BOOL4 v7; // w21\n  __int64 (***result)(void); // x0\n  __int64 (**v9)(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 = *(__int64 (****)(void))(a1 + 360);\n  if ( v7 )\n  {\n    if ( !result )\n      return result;\n    v9 = *result + 1;\n  }\n  else\n  {\n    if ( !result )\n      return result;\n    v9 = *result;\n  }\n  return (__int64 (***)(void))(*v9)();\n}", "assembly": "; \n; GJMultiplayerManager::onExitLobbyCompleted from 0x100266e5c to 0x100266f20 (196 bytes)\n; \n; 1 xrefs:\n; > GJMultiplayerManager::handleIt @ 0x1002667ec\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 11:01:41 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100266e5c\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x100266e60\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x100266e64\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x100266e68\nADD             X29, SP, #0x40                                         ; +0x10, 0x100266e6c\nMOV             X20, X2                                                ; +0x14, 0x100266e70\nMOV             X21, X1                                                ; +0x18, 0x100266e74\nMOV             X19, X0                                                ; +0x1c, 0x100266e78\nLDRSB           W8, [X2,#0x17]                                         ; +0x20, 0x100266e7c\nMOV             X1, X2                                                 ; +0x24, 0x100266e80\nTBZ             W8, #0x1F, loc_100266E8C                               ; +0x28, 0x100266e84\nLDR             X1, [X20]                                              ; +0x2c, 0x100266e88\nMOV             X0, X19                                                ; +0x30, 0x100266e8c\nBL              GJMultiplayerManager__removeDLFromActive               ; +0x34, 0x100266e90\nLDRSB           W8, [X20,#0x17]                                        ; +0x38, 0x100266e94\nTBZ             W8, #0x1F, loc_100266EA0                               ; +0x3c, 0x100266e98\nLDR             X20, [X20]                                             ; +0x40, 0x100266e9c\nMOV             X0, X20; char *                                        ; +0x44, 0x100266ea0\nBL              _atoi                                                  ; +0x48, 0x100266ea4\nMOV             X20, X0                                                ; +0x4c, 0x100266ea8\nADRL            X1, a1_0; \"-1\"                                         ; +0x50, 0x100266eac\nADD             X0, SP, #0x40+__p; int                                 ; +0x58, 0x100266eb4\nBL              sub_100009900                                          ; +0x5c, 0x100266eb8\nADD             X1, SP, #0x40+__p                                      ; +0x60, 0x100266ebc\nMOV             X0, X21                                                ; +0x64, 0x100266ec0\nBL              sub_1000045BC                                          ; +0x68, 0x100266ec4\nMOV             X21, X0                                                ; +0x6c, 0x100266ec8\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x70, 0x100266ecc\nTBZ             W8, #0x1F, loc_100266EDC                               ; +0x74, 0x100266ed0\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x78, 0x100266ed4\nBL              __ZdlPv; operator delete(void *)                       ; +0x7c, 0x100266ed8\nLDR             X0, [X19,#0x168]                                       ; +0x80, 0x100266edc\nCBZ             W21, loc_100266EF4                                     ; +0x84, 0x100266ee0\nCBZ             X0, loc_100266F0C                                      ; +0x88, 0x100266ee4\nLDR             X8, [X0]                                               ; +0x8c, 0x100266ee8\nADD             X8, X8, #8                                             ; +0x90, 0x100266eec\nB               loc_100266EFC                                          ; +0x94, 0x100266ef0\nCBZ             X0, loc_100266F0C                                      ; +0x98, 0x100266ef4\nLDR             X8, [X0]                                               ; +0x9c, 0x100266ef8\nLDR             X8, [X8]                                               ; +0xa0, 0x100266efc\nMOV             X1, X20                                                ; +0xa4, 0x100266f00\nMOV             W2, #0x40 ; '@'                                        ; +0xa8, 0x100266f04\nBLR             X8                                                     ; +0xac, 0x100266f08\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xb0, 0x100266f0c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xb4, 0x100266f10\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xb8, 0x100266f14\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xbc, 0x100266f18\nRET                                                                    ; +0xc0, 0x100266f1c", "xrefs": ["GJMultiplayerManager::handleIt @ 0x1002667ec"], "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"}