// // SmartGameObject::~SmartGameObject from 0x751b28 to 0x751c58 (304 bytes) // // 2 xrefs: // > @ 0x5ca18 // > @ 0x1165640 // // 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 SmartGameObject::~SmartGameObject(SmartGameObject *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_smartFrame.m_data.m_data; this->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SmartGameObject_vtbl *)&off_1165630; this->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1165D50; this->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_1165DD0; 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_baseFrame.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); } GameObject::~GameObject(this); operator delete(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source