{"type": "func", "start": 4299444436, "end": 4299444640, "name": "GJAccountManager::onProcessHttpRequestCompleted", "pseudocode": "// \n// GJAccountManager::onProcessHttpRequestCompleted from 0x1004450d4 to 0x1004451a0 (204 bytes)\n// \n// 1 xrefs:\n// > GJAccountManager::ProcessHttpRequest @ 0x100445028\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:05:14 +0000\n// \n\nvoid __fastcall GJAccountManager::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  GJAccountManager::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; GJAccountManager::onProcessHttpRequestCompleted from 0x1004450d4 to 0x1004451a0 (204 bytes)\n; \n; 1 xrefs:\n; > GJAccountManager::ProcessHttpRequest @ 0x100445028\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:05:14 +0000\n; \nSUB             SP, SP, #0x80                                          ; +0x0, 0x1004450d4\nSTP             X22, X21, [SP,#0x70+var_20]                            ; +0x4, 0x1004450d8\nSTP             X20, X19, [SP,#0x70+var_10]                            ; +0x8, 0x1004450dc\nSTP             X29, X30, [SP,#0x70+var_s0]                            ; +0xc, 0x1004450e0\nADD             X29, SP, #0x70                                         ; +0x10, 0x1004450e4\nMOV             X19, X0                                                ; +0x14, 0x1004450e8\nLDR             X8, [X2,#0x38]                                         ; +0x18, 0x1004450ec\nADD             X21, X8, #0x70 ; 'p'                                   ; +0x1c, 0x1004450f0\nLDRSB           W9, [X8,#0x87]                                         ; +0x20, 0x1004450f4\nTBZ             W9, #0x1F, loc_100445100                               ; +0x24, 0x1004450f8\nLDR             X21, [X21]                                             ; +0x28, 0x1004450fc\nLDR             W20, [X8,#0xC0]                                        ; +0x2c, 0x100445100\nADD             X8, SP, #0x70+var_38                                   ; +0x30, 0x100445104\nMOV             X0, X2                                                 ; +0x34, 0x100445108\nBL              GameToolbox__getResponse                               ; +0x38, 0x10044510c\nLDRSB           W8, [SP,#0x70+var_21]                                  ; +0x3c, 0x100445110\nTBNZ            W8, #0x1F, loc_10044512C                               ; +0x40, 0x100445114\nLDUR            Q0, [SP,#0x70+var_38]                                  ; +0x44, 0x100445118\nSTR             Q0, [SP,#0x70+__dst]                                   ; +0x48, 0x10044511c\nLDR             X8, [SP,#0x48]                                         ; +0x4c, 0x100445120\nSTR             X8, [SP,#0x70+var_40]                                  ; +0x50, 0x100445124\nB               loc_100445138                                          ; +0x54, 0x100445128\nLDP             X1, X2, [SP,#0x70+var_38]; __src                       ; +0x58, 0x10044512c\nADD             X0, SP, #0x70+__dst; __dst                             ; +0x5c, 0x100445130\nBL              sub_1000097D0                                          ; +0x60, 0x100445134\nADD             X0, SP, #0x70+__p; int                                 ; +0x64, 0x100445138\nMOV             X1, X21; __s                                           ; +0x68, 0x10044513c\nBL              sub_100009900                                          ; +0x6c, 0x100445140\nADD             X2, SP, #0x70+__dst; this                              ; +0x70, 0x100445144\nADD             X3, SP, #0x70+__p                                      ; +0x74, 0x100445148\nMOV             X0, X19; int                                           ; +0x78, 0x10044514c\nMOV             W1, #1; int                                            ; +0x7c, 0x100445150\nMOV             X4, X20                                                ; +0x80, 0x100445154\nBL              GJAccountManager__handleIt                             ; +0x84, 0x100445158\nLDRSB           W8, [SP,#0x70+var_51]                                  ; +0x88, 0x10044515c\nTBZ             W8, #0x1F, loc_10044516C                               ; +0x8c, 0x100445160\nLDR             X0, [SP,#0x70+__p]; __p                                ; +0x90, 0x100445164\nBL              __ZdlPv; operator delete(void *)                       ; +0x94, 0x100445168\nLDRSB           W8, [SP,#0x70+var_40+7]                                ; +0x98, 0x10044516c\nTBZ             W8, #0x1F, loc_10044517C                               ; +0x9c, 0x100445170\nLDR             X0, [SP,#0x70+__dst]; __p                              ; +0xa0, 0x100445174\nBL              __ZdlPv; operator delete(void *)                       ; +0xa4, 0x100445178\nLDRSB           W8, [SP,#0x70+var_21]                                  ; +0xa8, 0x10044517c\nTBZ             W8, #0x1F, loc_10044518C                               ; +0xac, 0x100445180\nLDR             X0, [SP,#0x70+var_38]; __p                             ; +0xb0, 0x100445184\nBL              __ZdlPv; operator delete(void *)                       ; +0xb4, 0x100445188\nLDP             X29, X30, [SP,#0x70+var_s0]                            ; +0xb8, 0x10044518c\nLDP             X20, X19, [SP,#0x70+var_10]                            ; +0xbc, 0x100445190\nLDP             X22, X21, [SP,#0x70+var_20]                            ; +0xc0, 0x100445194\nADD             SP, SP, #0x80                                          ; +0xc4, 0x100445198\nRET                                                                    ; +0xc8, 0x10044519c", "xrefs": ["GJAccountManager::ProcessHttpRequest @ 0x100445028"], "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"}