// // CCURLObject::~CCURLObject from 0x5e82b0 to 0x5e83d0 (288 bytes) // // 2 xrefs: // > @ 0x71d48 // > @ 0x11499a0 // // 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 CCURLObject::~CCURLObject(CCURLObject *this) { stl::StringData::Internal *m_data; // x1 char *v3; // x0 stl::StringData::Internal *v4; // x1 char *v5; // x0 unsigned int *v6; // x1 int v7; // w2 unsigned int *v8; // x1 int v9; // w2 m_data = this->m_url.m_data.m_data; this->__vftable = (CCURLObject_vtbl *)&off_1149990; v3 = (char *)m_data - 24; if ( (__int64 *)((char *)m_data - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)((char *)m_data - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *((_DWORD *)m_data - 2); *((_DWORD *)m_data - 2) = v7 - 1; } if ( v7 <= 0 ) operator delete(v3); } v4 = this->m_name.m_data.m_data; v5 = (char *)v4 - 24; if ( (__int64 *)((char *)v4 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)((char *)v4 - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *((_DWORD *)v4 - 2); *((_DWORD *)v4 - 2) = v9 - 1; } if ( v9 <= 0 ) operator delete(v5); } cocos2d::CCObject::~CCObject(this); operator delete(this); }