{"type": "func", "start": 3987952, "end": 3988150, "name": "GJHttpResult::create", "pseudocode": "// \n// GJHttpResult::create from 0x3cd9f0 to 0x3cdab6 (198 bytes)\n// \n// 4 xrefs:\n// > GameLevelManager::handleItDelayed @ 0x3cdaf4\n// > MusicDownloadManager::handleItDelayed @ 0x457d00\n// > GJAccountManager::handleItDelayed @ 0x4643a8\n// > GJMultiplayerManager::handleItDelayed @ 0x50fd1c\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\nint __fastcall GJHttpResult::create(char a1, int a2, int a3, int a4)\n{\n  int v6; // r4\n  _BOOL4 v7; // r6\n  int v8; // r3\n  int v9; // r0\n  _BYTE v11[4]; // [sp+Ch] [bp-Ch] BYREF\n  _BYTE v12[4]; // [sp+10h] [bp-8h] BYREF\n\n  v6 = operator new(0x114u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v6);\n  *(_BYTE *)(v6 + 262) = 0;\n  *(_DWORD *)v6 = &off_A51198;\n  *(_DWORD *)(v6 + 272) = 0;\n  *(_DWORD *)(v6 + 264) = &unk_ACDDA8;\n  *(_DWORD *)(v6 + 268) = &unk_ACDDA8;\n  sub_775C20(v11);\n  sub_775C20(v12);\n  v7 = GJHttpResult::init(v6, a1, (int)v11, (int)v12, a4);\n  sub_774008(v12);\n  sub_774008(v11);\n  if ( v7 )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);\n  }\n  else\n  {\n    v8 = *(_DWORD *)v6;\n    v9 = v6;\n    v6 = 0;\n    (*(void (__fastcall **)(int))(v8 + 8))(v9);\n  }\n  return v6;\n}", "assembly": "; \n; GJHttpResult::create from 0x3cd9f0 to 0x3cdab6 (198 bytes)\n; \n; 4 xrefs:\n; > GameLevelManager::handleItDelayed @ 0x3cdaf4\n; > MusicDownloadManager::handleItDelayed @ 0x457d00\n; > GJAccountManager::handleItDelayed @ 0x4643a8\n; > GJMultiplayerManager::handleItDelayed @ 0x50fd1c\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, 0x3cd9f0\nMOV             R7, R3                                                 ; +0x4, 0x3cd9f4\nLDR             R5, =(__stack_chk_guard_ptr - 0x3CDA04)                ; +0x6, 0x3cd9f6\nSUB             SP, SP, #0x18                                          ; +0x8, 0x3cd9f8\nMOV             R6, R0                                                 ; +0xa, 0x3cd9fa\nMOV.W           R0, #0x114; unsigned int                               ; +0xc, 0x3cd9fc\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x10, 0x3cda00\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x12, 0x3cda02\nMOV             R9, R1                                                 ; +0x14, 0x3cda04\nMOV             R8, R2                                                 ; +0x16, 0x3cda06\nLDR             R3, [R5]                                               ; +0x18, 0x3cda08\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1a, 0x3cda0a\nBL              _Znwj; operator new(uint)                              ; +0x1c, 0x3cda0c\nMOV             R4, R0                                                 ; +0x20, 0x3cda10\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x22, 0x3cda12\nLDR             R3, =(_ZTV12GJHttpResult_ptr - 0x3CDA24)               ; +0x26, 0x3cda16\nADD.W           R10, SP, #0x18+var_C                                   ; +0x28, 0x3cda18\nMOVS            R2, #0                                                 ; +0x2c, 0x3cda1c\nMOV             R1, R9                                                 ; +0x2e, 0x3cda1e\nADD             R3, PC; _ZTV12GJHttpResult_ptr                         ; +0x30, 0x3cda20\nLDR             R3, [R3]; `vtable for'GJHttpResult ...                 ; +0x32, 0x3cda22\nSTRB.W          R2, [R4,#0x106]                                        ; +0x34, 0x3cda24\nADDS            R3, #8                                                 ; +0x38, 0x3cda28\nSTR             R3, [R4]                                               ; +0x3a, 0x3cda2a\nLDR             R3, =(off_AB5BA0 - 0x3CDA38)                           ; +0x3c, 0x3cda2c\nMOV             R0, R10                                                ; +0x3e, 0x3cda2e\nSTR.W           R2, [R4,#0x110]                                        ; +0x40, 0x3cda30\nADD             R3, PC; off_AB5BA0                                     ; +0x44, 0x3cda34\nLDR             R3, [R3]; dword_ACDD9C                                 ; +0x46, 0x3cda36\nADDS            R3, #0xC                                               ; +0x48, 0x3cda38\nSTR.W           R3, [R4,#0x108]                                        ; +0x4a, 0x3cda3a\nSTR.W           R3, [R4,#0x10C]                                        ; +0x4e, 0x3cda3e\nBL              sub_775C20                                             ; +0x52, 0x3cda42\nADD.W           R9, SP, #0x18+var_8                                    ; +0x56, 0x3cda46\nMOV             R1, R8                                                 ; +0x5a, 0x3cda4a\nMOV             R0, R9                                                 ; +0x5c, 0x3cda4c\nBL              sub_775C20                                             ; +0x5e, 0x3cda4e\nB               loc_3CDA56                                             ; +0x62, 0x3cda52\nB               loc_3CDAA6                                             ; +0x64, 0x3cda54\nSTR             R7, [SP,#0x18+var_18]                                  ; +0x66, 0x3cda56\nMOV             R0, R4                                                 ; +0x68, 0x3cda58\nMOV             R1, R6                                                 ; +0x6a, 0x3cda5a\nMOV             R2, R10                                                ; +0x6c, 0x3cda5c\nMOV             R3, R9                                                 ; +0x6e, 0x3cda5e\nBL              _ZN12GJHttpResult4initEbSsSs10GJHttpType; GJHttpResult::init(bool,std::string,std::string,GJHttpType) ; +0x70, 0x3cda60\nMOV             R6, R0                                                 ; +0x74, 0x3cda64\nMOV             R0, R9                                                 ; +0x76, 0x3cda66\nBL              sub_774008                                             ; +0x78, 0x3cda68\nMOV             R0, R10                                                ; +0x7c, 0x3cda6c\nBL              sub_774008                                             ; +0x7e, 0x3cda6e\nCBZ             R6, loc_3CDA84                                         ; +0x82, 0x3cda72\nMOV             R0, R4; this                                           ; +0x84, 0x3cda74\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x86, 0x3cda76\nB               loc_3CDA8E                                             ; +0x8a, 0x3cda7a\nMOV             R0, R9                                                 ; +0x8c, 0x3cda7c\nBL              sub_774008                                             ; +0x8e, 0x3cda7e\nB               loc_3CDAA6                                             ; +0x92, 0x3cda82\nLDR             R3, [R4]                                               ; +0x94, 0x3cda84\nMOV             R0, R4                                                 ; +0x96, 0x3cda86\nMOV             R4, R6                                                 ; +0x98, 0x3cda88\nLDR             R3, [R3,#8]                                            ; +0x9a, 0x3cda8a\nBLX             R3                                                     ; +0x9c, 0x3cda8c\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x9e, 0x3cda8e\nMOV             R0, R4                                                 ; +0xa0, 0x3cda90\nLDR             R3, [R5]                                               ; +0xa2, 0x3cda92\nCMP             R2, R3                                                 ; +0xa4, 0x3cda94\nBEQ             loc_3CDAB0                                             ; +0xa6, 0x3cda96\nBLX             __stack_chk_fail                                       ; +0xa8, 0x3cda98\nMOV             R0, R4; p                                              ; +0xac, 0x3cda9c\nBL              _ZdlPv; operator delete(void *)                        ; +0xae, 0x3cda9e\nB               loc_3CDAAC                                             ; +0xb2, 0x3cdaa2\nB               loc_3CDAAC                                             ; +0xb4, 0x3cdaa4\nMOV             R0, R10                                                ; +0xb6, 0x3cdaa6\nBL              sub_774008                                             ; +0xb8, 0x3cdaa8\nBL              __cxa_end_cleanup                                      ; +0xbc, 0x3cdaac\nADD             SP, SP, #0x18                                          ; +0xc0, 0x3cdab0\nPOP.W           {R4-R10,PC}                                            ; +0xc2, 0x3cdab2", "xrefs": ["GameLevelManager::handleItDelayed @ 0x3cdaf4", "MusicDownloadManager::handleItDelayed @ 0x457d00", "GJAccountManager::handleItDelayed @ 0x4643a8", "GJMultiplayerManager::handleItDelayed @ 0x50fd1c"], "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"}