{"type": "func", "start": 4297483748, "end": 4297483952, "name": "GJMultiplayerManager::onProcessHttpRequestCompleted", "pseudocode": "// \n// GJMultiplayerManager::onProcessHttpRequestCompleted from 0x1002665e4 to 0x1002666b0 (204 bytes)\n// \n// 1 xrefs:\n// > GJMultiplayerManager::ProcessHttpRequest @ 0x1002664d8\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\nvoid __fastcall GJMultiplayerManager::onProcessHttpRequestCompleted(int a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // x8\n  char *v5; // x21\n  void *__p; // [xsp+8h] [xbp-68h] BYREF\n  char v7; // [xsp+1Fh] [xbp-51h]\n  std::string __dst; // [xsp+20h] [xbp-50h] BYREF\n  std::string v9; // [xsp+38h] [xbp-38h] BYREF\n\n  v4 = *(_QWORD *)(a3 + 56);\n  v5 = (char *)(v4 + 112);\n  if ( *(char *)(v4 + 135) < 0 )\n    v5 = *(char **)v5;\n  GameToolbox::getResponse(a3, &v9);\n  if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )\n    sub_1000097D0(&__dst, v9.__r_.__value_.__l.__data_, v9.__r_.__value_.__l.__size_);\n  else\n    __dst = v9;\n  sub_100009900(&__p, v5);\n  GJMultiplayerManager::handleIt(a1, 1, &__dst);\n  if ( v7 < 0 )\n    operator delete(__p);\n  if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__dst.__r_.__value_.__l.__data_);\n  if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(v9.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; GJMultiplayerManager::onProcessHttpRequestCompleted from 0x1002665e4 to 0x1002666b0 (204 bytes)\n; \n; 1 xrefs:\n; > GJMultiplayerManager::ProcessHttpRequest @ 0x1002664d8\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, #0x80                                          ; +0x0, 0x1002665e4\nSTP             X22, X21, [SP,#0x70+var_20]                            ; +0x4, 0x1002665e8\nSTP             X20, X19, [SP,#0x70+var_10]                            ; +0x8, 0x1002665ec\nSTP             X29, X30, [SP,#0x70+var_s0]                            ; +0xc, 0x1002665f0\nADD             X29, SP, #0x70                                         ; +0x10, 0x1002665f4\nMOV             X19, X0                                                ; +0x14, 0x1002665f8\nLDR             X8, [X2,#0x38]                                         ; +0x18, 0x1002665fc\nADD             X21, X8, #0x70 ; 'p'                                   ; +0x1c, 0x100266600\nLDRSB           W9, [X8,#0x87]                                         ; +0x20, 0x100266604\nTBZ             W9, #0x1F, loc_100266610                               ; +0x24, 0x100266608\nLDR             X21, [X21]                                             ; +0x28, 0x10026660c\nLDR             W20, [X8,#0xC0]                                        ; +0x2c, 0x100266610\nADD             X8, SP, #0x70+var_38                                   ; +0x30, 0x100266614\nMOV             X0, X2                                                 ; +0x34, 0x100266618\nBL              GameToolbox__getResponse                               ; +0x38, 0x10026661c\nLDRSB           W8, [SP,#0x70+var_21]                                  ; +0x3c, 0x100266620\nTBNZ            W8, #0x1F, loc_10026663C                               ; +0x40, 0x100266624\nLDUR            Q0, [SP,#0x70+var_38]                                  ; +0x44, 0x100266628\nSTR             Q0, [SP,#0x70+__dst]                                   ; +0x48, 0x10026662c\nLDR             X8, [SP,#0x48]                                         ; +0x4c, 0x100266630\nSTR             X8, [SP,#0x70+var_40]                                  ; +0x50, 0x100266634\nB               loc_100266648                                          ; +0x54, 0x100266638\nLDP             X1, X2, [SP,#0x70+var_38]; __src                       ; +0x58, 0x10026663c\nADD             X0, SP, #0x70+__dst; __dst                             ; +0x5c, 0x100266640\nBL              sub_1000097D0                                          ; +0x60, 0x100266644\nADD             X0, SP, #0x70+__p; int                                 ; +0x64, 0x100266648\nMOV             X1, X21; __s                                           ; +0x68, 0x10026664c\nBL              sub_100009900                                          ; +0x6c, 0x100266650\nADD             X2, SP, #0x70+__dst; this                              ; +0x70, 0x100266654\nADD             X3, SP, #0x70+__p                                      ; +0x74, 0x100266658\nMOV             X0, X19; int                                           ; +0x78, 0x10026665c\nMOV             W1, #1; int                                            ; +0x7c, 0x100266660\nMOV             X4, X20                                                ; +0x80, 0x100266664\nBL              GJMultiplayerManager__handleIt                         ; +0x84, 0x100266668\nLDRSB           W8, [SP,#0x70+var_51]                                  ; +0x88, 0x10026666c\nTBZ             W8, #0x1F, loc_10026667C                               ; +0x8c, 0x100266670\nLDR             X0, [SP,#0x70+__p]; __p                                ; +0x90, 0x100266674\nBL              __ZdlPv; operator delete(void *)                       ; +0x94, 0x100266678\nLDRSB           W8, [SP,#0x70+var_40+7]                                ; +0x98, 0x10026667c\nTBZ             W8, #0x1F, loc_10026668C                               ; +0x9c, 0x100266680\nLDR             X0, [SP,#0x70+__dst]; __p                              ; +0xa0, 0x100266684\nBL              __ZdlPv; operator delete(void *)                       ; +0xa4, 0x100266688\nLDRSB           W8, [SP,#0x70+var_21]                                  ; +0xa8, 0x10026668c\nTBZ             W8, #0x1F, loc_10026669C                               ; +0xac, 0x100266690\nLDR             X0, [SP,#0x70+var_38]; __p                             ; +0xb0, 0x100266694\nBL              __ZdlPv; operator delete(void *)                       ; +0xb4, 0x100266698\nLDP             X29, X30, [SP,#0x70+var_s0]                            ; +0xb8, 0x10026669c\nLDP             X20, X19, [SP,#0x70+var_10]                            ; +0xbc, 0x1002666a0\nLDP             X22, X21, [SP,#0x70+var_20]                            ; +0xc0, 0x1002666a4\nADD             SP, SP, #0x80                                          ; +0xc4, 0x1002666a8\nRET                                                                    ; +0xc8, 0x1002666ac", "xrefs": ["GJMultiplayerManager::ProcessHttpRequest @ 0x1002664d8"], "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"}