{"type": "func", "start": 6442571552, "end": 6442571602, "name": "cocos2d::extension::CCHttpResponse::setErrorBuffer", "pseudocode": "// \n// cocos2d::extension::CCHttpResponse::setErrorBuffer from 0x18001d720 to 0x18001d752 (50 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18002fdf8\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 __fastcall cocos2d::extension::CCHttpResponse::setErrorBuffer(cocos2d::extension::CCHttpResponse *this, char *a2)\n{\n  char *v2; // rcx\n  _BYTE *v3; // rax\n  size_t v4; // r8\n\n  v2 = (char *)this + 128;\n  v3 = v2;\n  *((_QWORD *)v2 + 2) = 0;\n  if ( *((_QWORD *)v2 + 3) > 0xFu )\n    v3 = *(_BYTE **)v2;\n  *v3 = 0;\n  v4 = -1;\n  do\n    ++v4;\n  while ( a2[v4] );\n  sub_180003BC0((void **)v2, a2, v4);\n}", "assembly": "; \n; cocos2d::extension::CCHttpResponse::setErrorBuffer from 0x18001d720 to 0x18001d752 (50 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18002fdf8\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     rcx, 0FFFFFFFFFFFFFF80h; void *                                ; +0x0, 0x18001d720\nmov     rax, rcx                                                       ; +0x4, 0x18001d724\nmov     qword ptr [rcx+10h], 0                                         ; +0x7, 0x18001d727\ncmp     qword ptr [rcx+18h], 0Fh                                       ; +0xf, 0x18001d72f\njbe     short loc_18001D739                                            ; +0x14, 0x18001d734\nmov     rax, [rcx]                                                     ; +0x16, 0x18001d736\nmov     byte ptr [rax], 0                                              ; +0x19, 0x18001d739\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x1c, 0x18001d73c\ninc     r8; Size                                                       ; +0x23, 0x18001d743\ncmp     byte ptr [rdx+r8], 0                                           ; +0x26, 0x18001d746\njnz     short loc_18001D743                                            ; +0x2b, 0x18001d74b\njmp     sub_180003BC0                                                  ; +0x2d, 0x18001d74d", "xrefs": ["<???> @ 0x18002fdf8"], "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"}