{"type": "func", "start": 4296863736, "end": 4296863920, "name": "GJMultiplayerManager::onUploadCommentCompleted", "pseudocode": "// \n// GJMultiplayerManager::onUploadCommentCompleted from 0x1001ceff8 to 0x1001cf0b0 (184 bytes)\n// \n// 1 xrefs:\n// > GJMultiplayerManager::handleIt @ 0x1001ce920\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 GJMultiplayerManager::onUploadCommentCompleted(GJMultiplayerManager *a1, _QWORD *a2, const char *a3)\n{\n  const char *v3; // x21\n  const char *v6; // x1\n  __int64 v7; // x21\n  bool v8; // w0\n  bool v9; // w20\n  GJMPDelegate *m_mpDelegate; // x0\n  void *__p[2]; // [xsp+8h] [xbp-38h] BYREF\n  char v12; // [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  v7 = atoi(v3);\n  sub_100009900(__p, \"-1\");\n  v8 = sub_1000045BC(a2, __p);\n  v9 = v8;\n  if ( v12 < 0 )\n  {\n    operator delete(__p[0]);\n    if ( v9 )\n      return;\n  }\n  else if ( v8 )\n  {\n    return;\n  }\n  m_mpDelegate = a1->m_mpDelegate;\n  if ( m_mpDelegate )\n    ((void (__fastcall *)(GJMPDelegate *, __int64))m_mpDelegate->didUploadMPComment)(m_mpDelegate, v7);\n}", "assembly": "; \n; GJMultiplayerManager::onUploadCommentCompleted from 0x1001ceff8 to 0x1001cf0b0 (184 bytes)\n; \n; 1 xrefs:\n; > GJMultiplayerManager::handleIt @ 0x1001ce920\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, 0x1001ceff8\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x1001ceffc\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x1001cf000\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x1001cf004\nADD             X29, SP, #0x40                                         ; +0x10, 0x1001cf008\nMOV             X21, X2                                                ; +0x14, 0x1001cf00c\nMOV             X20, X1                                                ; +0x18, 0x1001cf010\nMOV             X19, X0                                                ; +0x1c, 0x1001cf014\nLDRSB           W8, [X2,#0x17]                                         ; +0x20, 0x1001cf018\nMOV             X1, X2                                                 ; +0x24, 0x1001cf01c\nTBZ             W8, #0x1F, loc_1001CF028                               ; +0x28, 0x1001cf020\nLDR             X1, [X21]                                              ; +0x2c, 0x1001cf024\nMOV             X0, X19                                                ; +0x30, 0x1001cf028\nBL              GJMultiplayerManager__removeDLFromActive               ; +0x34, 0x1001cf02c\nLDRSB           W8, [X21,#0x17]                                        ; +0x38, 0x1001cf030\nTBZ             W8, #0x1F, loc_1001CF03C                               ; +0x3c, 0x1001cf034\nLDR             X21, [X21]                                             ; +0x40, 0x1001cf038\nMOV             X0, X21; char *                                        ; +0x44, 0x1001cf03c\nBL              _atoi                                                  ; +0x48, 0x1001cf040\nMOV             X21, X0                                                ; +0x4c, 0x1001cf044\nADRL            X1, a1_0; \"-1\"                                         ; +0x50, 0x1001cf048\nADD             X0, SP, #0x40+__p; int                                 ; +0x58, 0x1001cf050\nBL              sub_100009900                                          ; +0x5c, 0x1001cf054\nADD             X1, SP, #0x40+__p                                      ; +0x60, 0x1001cf058\nMOV             X0, X20                                                ; +0x64, 0x1001cf05c\nBL              sub_1000045BC                                          ; +0x68, 0x1001cf060\nMOV             X20, X0                                                ; +0x6c, 0x1001cf064\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x70, 0x1001cf068\nTBNZ            W8, #0x1F, loc_1001CF078                               ; +0x74, 0x1001cf06c\nTBZ             W20, #0, loc_1001CF084                                 ; +0x78, 0x1001cf070\nB               loc_1001CF09C                                          ; +0x7c, 0x1001cf074\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x80, 0x1001cf078\nBL              __ZdlPv; operator delete(void *)                       ; +0x84, 0x1001cf07c\nTBNZ            W20, #0, loc_1001CF09C                                 ; +0x88, 0x1001cf080\nLDR             X0, [X19,#0x160]                                       ; +0x8c, 0x1001cf084\nCBZ             X0, loc_1001CF09C                                      ; +0x90, 0x1001cf088\nLDR             X8, [X0]                                               ; +0x94, 0x1001cf08c\nLDR             X8, [X8,#0x10]                                         ; +0x98, 0x1001cf090\nMOV             X1, X21                                                ; +0x9c, 0x1001cf094\nBLR             X8                                                     ; +0xa0, 0x1001cf098\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xa4, 0x1001cf09c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xa8, 0x1001cf0a0\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0xac, 0x1001cf0a4\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xb0, 0x1001cf0a8\nRET                                                                    ; +0xb4, 0x1001cf0ac", "xrefs": ["GJMultiplayerManager::handleIt @ 0x1001ce920"], "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"}