//
// cocos2d::CCRenderTexture::~CCRenderTexture from 0x7e0244 to 0x7e02b8 (116 bytes)
//
// 1 xrefs:
// > cocos2d::CCRenderTexture::~CCRenderTexture @ 0x7e02c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:48 +0000
//
// Alternative name is '_ZN7cocos2d15CCRenderTextureD1Ev'
void __fastcall cocos2d::CCRenderTexture::~CCRenderTexture(cocos2d::CCRenderTexture *this)
{
_DWORD *v2; // r0
_DWORD *v3; // r0
cocos2d::CCNotificationCenter *v4; // r0
cocos2d::CCNotificationCenter *v5; // r0
cocos2d::CCNotificationCenter *v6; // r0
cocos2d::CCNotificationCenter *v7; // r0
*(_DWORD *)this = &off_D0D948;
v2 = *((_DWORD **)this + 66);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((_DWORD **)this + 71);
if ( v3 )
cocos2d::CCObject::release(v3);
glDeleteFramebuffers();
if ( *((_DWORD *)this + 68) )
glDeleteRenderbuffers();
v4 = *((cocos2d::CCNotificationCenter **)this + 72);
if ( v4 )
{
v4 = (cocos2d::CCNotificationCenter *)(*(int (__fastcall **)(cocos2d::CCNotificationCenter *))(*(_DWORD *)v4 + 8))(v4);
*((_DWORD *)this + 72) = 0;
}
v5 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v4);
v6 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::removeObserver(
v5,
this,
"event_come_to_background");
v7 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v6);
cocos2d::CCNotificationCenter::removeObserver(v7, this, "event_come_to_foreground");
cocos2d::CCNode::~CCNode((cocos2d::CCObject **)this);
}