{"type": "func", "start": 6442547616, "end": 6442547666, "name": "cocos2d::extension::CCHttpClient::getInstance", "pseudocode": "// \n// cocos2d::extension::CCHttpClient::getInstance from 0x1800179a0 to 0x1800179d2 (50 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004aa7c\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::extension::CCHttpClient *__fastcall cocos2d::extension::CCHttpClient::getInstance()\n{\n  struct cocos2d::extension::CCHttpClient *result; // rax\n  cocos2d::extension::CCHttpClient *v1; // [rsp+30h] [rbp+8h]\n\n  result = (struct cocos2d::extension::CCHttpClient *)qword_1800487D0;\n  if ( !qword_1800487D0 )\n  {\n    v1 = (cocos2d::extension::CCHttpClient *)operator new(0x48u);\n    result = cocos2d::extension::CCHttpClient::CCHttpClient(v1);\n    qword_1800487D0 = (__int64)result;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::extension::CCHttpClient::getInstance from 0x1800179a0 to 0x1800179d2 (50 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004aa7c\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800179a0\nmov     rax, cs:qword_1800487D0                                        ; +0x4, 0x1800179a4\ntest    rax, rax                                                       ; +0xb, 0x1800179ab\njnz     short loc_1800179CD                                            ; +0xe, 0x1800179ae\nlea     ecx, [rax+48h]; Size                                           ; +0x10, 0x1800179b0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x1800179b3\nmov     [rsp+28h+arg_0], rax                                           ; +0x18, 0x1800179b8\nmov     rcx, rax; this                                                 ; +0x1d, 0x1800179bd\ncall    ??0CCHttpClient@extension@cocos2d@@AEAA@XZ; cocos2d::extension::CCHttpClient::CCHttpClient(void) ; +0x20, 0x1800179c0\nnop                                                                    ; +0x25, 0x1800179c5\nmov     cs:qword_1800487D0, rax                                        ; +0x26, 0x1800179c6\nadd     rsp, 28h                                                       ; +0x2d, 0x1800179cd\nretn                                                                   ; +0x31, 0x1800179d1", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004aa7c"], "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"}