//
// cocos2d::CCRenderTexture::CCRenderTexture from 0x7e03c4 to 0x7e0474 (176 bytes)
//
// 3 xrefs:
// > cocos2d::CCRenderTexture::create @ 0x7e0866
// > cocos2d::CCRenderTexture::create @ 0x7e08a8
// > cocos2d::CCRenderTexture::create @ 0x7e08f6
//
// 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 '_ZN7cocos2d15CCRenderTextureC1Ev'
cocos2d::CCRenderTexture *__fastcall cocos2d::CCRenderTexture::CCRenderTexture(cocos2d::CCRenderTexture *this)
{
cocos2d::CCNode *v2; // r0
int v3; // r0
cocos2d::CCNotificationCenter *v4; // r0
int v5; // r0
v2 = cocos2d::CCNode::CCNode(this);
*((_DWORD *)this + 66) = 0;
*((_DWORD *)this + 67) = 0;
*((_DWORD *)this + 68) = 0;
*(_DWORD *)this = &off_D0D948;
*((_DWORD *)this + 69) = 0;
*((_DWORD *)this + 75) = 0;
*((_DWORD *)this + 76) = 0;
*((_DWORD *)this + 77) = 0;
*((_DWORD *)this + 78) = 0;
*((_DWORD *)this + 79) = 0;
*((_DWORD *)this + 82) = 0;
*((_DWORD *)this + 83) = 0;
*((_DWORD *)this + 70) = 0;
*((_DWORD *)this + 71) = 0;
*((_DWORD *)this + 72) = 0;
*((_DWORD *)this + 73) = 0;
*((_DWORD *)this + 74) = 0;
*((_DWORD *)this + 80) = 0;
*((_BYTE *)this + 324) = 0;
*((_DWORD *)this + 84) = 0;
*((_DWORD *)this + 85) = 0;
v3 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v2);
v4 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::addObserver(
v3,
(int)this,
(int)cocos2d::CCRenderTexture::listenToBackground,
0,
"event_come_to_background",
0);
v5 = cocos2d::CCNotificationCenter::sharedNotificationCenter(v4);
cocos2d::CCNotificationCenter::addObserver(
v5,
(int)this,
(int)cocos2d::CCRenderTexture::listenToForeground,
0,
"event_come_to_foreground",
0);
return this;
}