{"type": "func", "start": 5371876352, "end": 5371876597, "name": "GJAccountManager::onProcessHttpRequestCompleted", "pseudocode": "// \n// GJAccountManager::onProcessHttpRequestCompleted from 0x140305400 to 0x1403054f5 (245 bytes)\n// \n// 2 xrefs:\n// > GJAccountManager::ProcessHttpRequest @ 0x14030532f\n// > <???> @ 0x14091e524\n// \n// This function is hookable on this platform (idp: pc, 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:30:09 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall GJAccountManager::onProcessHttpRequestCompleted(int a1, __int64 a2, __int64 a3)\n{\n  const char *Tag; // rdi\n  int v6; // ebp\n  size_t v7; // r8\n  int v8; // eax\n  int v9; // edx\n  __int128 v10; // [rsp+30h] [rbp-88h] BYREF\n  __int64 v11; // [rsp+40h] [rbp-78h]\n  __int64 v12; // [rsp+48h] [rbp-70h]\n  __int128 *v13; // [rsp+50h] [rbp-68h]\n  _BYTE v14[32]; // [rsp+60h] [rbp-58h] BYREF\n  _BYTE v15[32]; // [rsp+80h] [rbp-38h] BYREF\n\n  Tag = cocos2d::extension::CCHttpRequest::getTag(*(cocos2d::extension::CCHttpRequest **)(a3 + 56));\n  v6 = *(_DWORD *)(*(_QWORD *)(a3 + 56) + 200LL);\n  GameToolbox::getResponse((__int64)v15, a3);\n  v13 = &v10;\n  v10 = 0;\n  v11 = 0;\n  v12 = 0;\n  v7 = -1;\n  do\n    ++v7;\n  while ( Tag[v7] );\n  sub_14003D230(&v10, Tag, v7);\n  v8 = sub_14003F4F0((__int64)v14, (__int64)v15);\n  GJAccountManager::handleIt(a1, v9, v8, (unsigned int)&v10, v6);\n  sub_14003D310((__int64)v15);\n}", "assembly": "; \n; GJAccountManager::onProcessHttpRequestCompleted from 0x140305400 to 0x1403054f5 (245 bytes)\n; \n; 2 xrefs:\n; > GJAccountManager::ProcessHttpRequest @ 0x14030532f\n; > <???> @ 0x14091e524\n; \n; This function is hookable on this platform (idp: pc, 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:30:09 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140305400\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140305405\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14030540a\npush    rdi                                                            ; +0xf, 0x14030540f\nsub     rsp, 0B0h                                                      ; +0x10, 0x140305410\nmov     rax, cs:__security_cookie                                      ; +0x17, 0x140305417\nxor     rax, rsp                                                       ; +0x1e, 0x14030541e\nmov     [rsp+0B8h+var_18], rax                                         ; +0x21, 0x140305421\nmov     rbx, r8                                                        ; +0x29, 0x140305429\nmov     rsi, rcx                                                       ; +0x2c, 0x14030542c\nmov     rcx, [r8+38h]                                                  ; +0x2f, 0x14030542f\ncall    cs:?getTag@CCHttpRequest@extension@cocos2d@@QEAAPEBDXZ; cocos2d::extension::CCHttpRequest::getTag(void) ; +0x33, 0x140305433\nmov     rdi, rax                                                       ; +0x39, 0x140305439\nmov     r8, [rbx+38h]                                                  ; +0x3c, 0x14030543c\nmov     ebp, [r8+0C8h]                                                 ; +0x40, 0x140305440\nmov     rdx, rbx                                                       ; +0x47, 0x140305447\nlea     rcx, [rsp+0B8h+var_38]                                         ; +0x4a, 0x14030544a\ncall    GameToolbox__getResponse                                       ; +0x52, 0x140305452\nnop                                                                    ; +0x57, 0x140305457\nlea     rax, [rsp+0B8h+var_88]                                         ; +0x58, 0x140305458\nmov     [rsp+0B8h+var_68], rax                                         ; +0x5d, 0x14030545d\nxorps   xmm0, xmm0                                                     ; +0x62, 0x140305462\nmovups  [rsp+0B8h+var_88], xmm0                                        ; +0x65, 0x140305465\nxor     eax, eax                                                       ; +0x6a, 0x14030546a\nmov     [rsp+0B8h+var_78], rax                                         ; +0x6c, 0x14030546c\nmov     [rsp+0B8h+var_70], rax                                         ; +0x71, 0x140305471\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x76, 0x140305476\nnop     dword ptr [rax]                                                ; +0x7d, 0x14030547d\ninc     r8                                                             ; +0x80, 0x140305480\ncmp     [rdi+r8], al                                                   ; +0x83, 0x140305483\njnz     short loc_140305480                                            ; +0x87, 0x140305487\nmov     rdx, rdi                                                       ; +0x89, 0x140305489\nlea     rcx, [rsp+0B8h+var_88]                                         ; +0x8c, 0x14030548c\ncall    sub_14003D230                                                  ; +0x91, 0x140305491\nnop                                                                    ; +0x96, 0x140305496\nlea     rdx, [rsp+0B8h+var_38]                                         ; +0x97, 0x140305497\nlea     rcx, [rsp+0B8h+var_58]                                         ; +0x9f, 0x14030549f\ncall    sub_14003F4F0                                                  ; +0xa4, 0x1403054a4\nnop                                                                    ; +0xa9, 0x1403054a9\nmov     [rsp+0B8h+var_98], ebp                                         ; +0xaa, 0x1403054aa\nlea     r9, [rsp+0B8h+var_88]                                          ; +0xae, 0x1403054ae\nmov     r8, rax                                                        ; +0xb3, 0x1403054b3\nmov     rcx, rsi                                                       ; +0xb6, 0x1403054b6\ncall    GJAccountManager__handleIt                                     ; +0xb9, 0x1403054b9\nnop                                                                    ; +0xbe, 0x1403054be\nlea     rcx, [rsp+0B8h+var_38]                                         ; +0xbf, 0x1403054bf\ncall    sub_14003D310                                                  ; +0xc7, 0x1403054c7\nmov     rcx, [rsp+0B8h+var_18]                                         ; +0xcc, 0x1403054cc\nxor     rcx, rsp; StackCookie                                          ; +0xd4, 0x1403054d4\ncall    __security_check_cookie                                        ; +0xd7, 0x1403054d7\nlea     r11, [rsp+0B8h+var_8]                                          ; +0xdc, 0x1403054dc\nmov     rbx, [r11+10h]                                                 ; +0xe4, 0x1403054e4\nmov     rbp, [r11+18h]                                                 ; +0xe8, 0x1403054e8\nmov     rsi, [r11+28h]                                                 ; +0xec, 0x1403054ec\nmov     rsp, r11                                                       ; +0xf0, 0x1403054f0\npop     rdi                                                            ; +0xf3, 0x1403054f3\nretn                                                                   ; +0xf4, 0x1403054f4", "xrefs": ["GJAccountManager::ProcessHttpRequest @ 0x14030532f", "<???> @ 0x14091e524"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}