//
// sub_18001D910 from 0x18001d910 to 0x18001d988 (120 bytes)
//
// 6 xrefs:
// > cocos2d::extension::CCHttpRequest::CCHttpRequest @ 0x18001d482
// > cocos2d::extension::CCHttpResponse::CCHttpResponse @ 0x18001d79d
// > cocos2d::extension::CCHttpResponse::CCHttpResponse @ 0x18001d7ab
// > ??> @ 0x18002f928
// > ??> @ 0x18002f938
// > ??> @ 0x18004b028
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void **__fastcall sub_18001D910(void **a1, const void **a2)
{
size_t v4; // rdx
const void *v5; // rdx
char *v6; // rdi
size_t v7; // rbx
*a1 = nullptr;
a1[1] = nullptr;
a1[2] = nullptr;
v4 = (_BYTE *)a2[1] - (_BYTE *)*a2;
if ( v4 )
{
if ( v4 > 0x7FFFFFFFFFFFFFFFLL )
sub_180003530();
sub_180018CF0(a1, v4);
v5 = *a2;
v6 = (char *)*a1;
v7 = (_BYTE *)a2[1] - (_BYTE *)*a2;
memmove(*a1, v5, v7);
a1[1] = &v6[v7];
}
return a1;
}