//
// cocos2d::extension::CCHttpRequest::~CCHttpRequest from 0x80731c to 0x8073cc (176 bytes)
//
// 3 xrefs:
// > ??> @ 0x43a80
// > ??> @ 0xe1d48
// > ??> @ 0x143f168
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:46 +0000
//
// Alternative name is '_ZN7cocos2d9extension13CCHttpRequestD2Ev'
void __fastcall cocos2d::extension::CCHttpRequest::~CCHttpRequest(cocos2d::extension::CCHttpRequest *this)
{
cocos2d::CCObject *v2; // x0
void *v3; // x20
void *v4; // x0
__int64 v5; // x0
void *v6; // x0
v2 = *((cocos2d::CCObject **)this + 17);
*(_QWORD *)this = &off_143F160;
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((void **)this + 21);
if ( v3 )
{
v4 = *((void **)this + 22);
if ( v3 != v4 )
{
do
{
v5 = (__int64)v4 - 24;
*((_QWORD *)this + 22) = v5;
std::string::~string(v5);
v4 = *((void **)this + 22);
}
while ( v3 != v4 );
v4 = *((void **)this + 21);
}
operator delete(v4);
}
if ( (*((_BYTE *)this + 112) & 1) != 0 )
operator delete(*((void **)this + 16));
v6 = *((void **)this + 11);
if ( v6 )
{
if ( v6 != *((void **)this + 12) )
*((_QWORD *)this + 12) = v6;
operator delete(v6);
}
if ( (*((_BYTE *)this + 64) & 1) != 0 )
operator delete(*((void **)this + 10));
cocos2d::CCObject::~CCObject(this);
}