{"type": "func", "start": 4611288, "end": 4611426, "name": "GJAccountManager::onProcessHttpRequestCompleted", "pseudocode": "// \n// GJAccountManager::onProcessHttpRequestCompleted from 0x465cd8 to 0x465d62 (138 bytes)\n// \n// 0 xrefs:\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 GJAccountManager::onProcessHttpRequestCompleted(\n        GJAccountManager *a1,\n        cocos2d::extension::CCHttpClient *a2,\n        cocos2d::extension::CCHttpResponse *a3)\n{\n  cocos2d::extension::CCHttpRequest *pHttpRequest; // r3\n  char *m_data; // r10\n  unsigned int requestTypeGJ; // r9\n  GameToolbox v7; // [sp+10h] [bp-10h] BYREF\n  _BYTE v8[4]; // [sp+14h] [bp-Ch] BYREF\n  _BYTE v9[4]; // [sp+18h] [bp-8h] BYREF\n\n  pHttpRequest = a3->_pHttpRequest;\n  m_data = (char *)pHttpRequest->_tag.m_data.m_data;\n  requestTypeGJ = pHttpRequest->_requestTypeGJ;\n  GameToolbox::getResponse(&v7, a3);\n  sub_775C20(v8);\n  sub_776584((int)v9, m_data);\n  GJAccountManager::handleIt((int)a1, (_BYTE *)&dword_0 + 1, (int)v8, (int)v9, requestTypeGJ);\n  sub_774008(v9);\n  sub_774008(v8);\n  sub_774008(&v7);\n}", "assembly": "; \n; GJAccountManager::onProcessHttpRequestCompleted from 0x465cd8 to 0x465d62 (138 bytes)\n; \n; 0 xrefs:\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\nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x465cd8\nSUB             SP, SP, #0x20                                          ; +0x4, 0x465cdc\nLDR             R4, =(__stack_chk_guard_ptr - 0x465CEA)                ; +0x6, 0x465cde\nADD             R5, SP, #0x20+var_10                                   ; +0x8, 0x465ce0\nADD             R6, SP, #0x20+var_C                                    ; +0xa, 0x465ce2\nMOV             R1, R2; cocos2d::extension::CCHttpResponse *           ; +0xc, 0x465ce4\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x465ce6\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x465ce8\nMOV             R8, R0                                                 ; +0x12, 0x465cea\nMOV             R0, R5; this                                           ; +0x14, 0x465cec\nLDR             R3, [R4]                                               ; +0x16, 0x465cee\nSTR             R3, [SP,#0x20+var_4]                                   ; +0x18, 0x465cf0\nLDR             R3, [R2,#0x34]                                         ; +0x1a, 0x465cf2\nLDR.W           R10, [R3,#0x48]                                        ; +0x1c, 0x465cf4\nLDR.W           R9, [R3,#0x68]                                         ; +0x20, 0x465cf8\nBL              _ZN11GameToolbox11getResponseEPN7cocos2d9extension14CCHttpResponseE; GameToolbox::getResponse(cocos2d::extension::CCHttpResponse *) ; +0x24, 0x465cfc\nMOV             R0, R6                                                 ; +0x28, 0x465d00\nMOV             R1, R5                                                 ; +0x2a, 0x465d02\nBL              sub_775C20                                             ; +0x2c, 0x465d04\nADD             R7, SP, #0x20+var_8                                    ; +0x30, 0x465d08\nMOV             R1, R10; char *                                        ; +0x32, 0x465d0a\nADD             R2, SP, #0x20+var_14                                   ; +0x34, 0x465d0c\nMOV             R0, R7; int                                            ; +0x36, 0x465d0e\nBL              sub_776584                                             ; +0x38, 0x465d10\nSTR.W           R9, [SP,#0x20+var_20]                                  ; +0x3c, 0x465d14\nMOV             R0, R8                                                 ; +0x40, 0x465d18\nMOVS            R1, #1                                                 ; +0x42, 0x465d1a\nMOV             R2, R6                                                 ; +0x44, 0x465d1c\nMOV             R3, R7                                                 ; +0x46, 0x465d1e\nBL              _ZN16GJAccountManager8handleItEbSsSs10GJHttpType; GJAccountManager::handleIt(bool,std::string,std::string,GJHttpType) ; +0x48, 0x465d20\nMOV             R0, R7                                                 ; +0x4c, 0x465d24\nBL              sub_774008                                             ; +0x4e, 0x465d26\nMOV             R0, R6                                                 ; +0x52, 0x465d2a\nBL              sub_774008                                             ; +0x54, 0x465d2c\nMOV             R0, R5                                                 ; +0x58, 0x465d30\nBL              sub_774008                                             ; +0x5a, 0x465d32\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x5e, 0x465d36\nLDR             R3, [R4]                                               ; +0x60, 0x465d38\nCMP             R2, R3                                                 ; +0x62, 0x465d3a\nBEQ             loc_465D5C                                             ; +0x64, 0x465d3c\nBLX             __stack_chk_fail                                       ; +0x66, 0x465d3e\nMOV             R0, R7                                                 ; +0x6a, 0x465d42\nBL              sub_774008                                             ; +0x6c, 0x465d44\nB               loc_465D4A                                             ; +0x70, 0x465d48\nMOV             R0, R6                                                 ; +0x72, 0x465d4a\nBL              sub_774008                                             ; +0x74, 0x465d4c\nB               loc_465D52                                             ; +0x78, 0x465d50\nMOV             R0, R5                                                 ; +0x7a, 0x465d52\nBL              sub_774008                                             ; +0x7c, 0x465d54\nBL              __cxa_end_cleanup                                      ; +0x80, 0x465d58\nADD             SP, SP, #0x20 ; ' '                                    ; +0x84, 0x465d5c\nPOP.W           {R4-R10,PC}                                            ; +0x86, 0x465d5e", "xrefs": [], "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"}