// // cocos2d::CCRenderTexture::CCRenderTexture from 0xaf94e8 to 0xaf95b4 (204 bytes) // // 5 xrefs: // > cocos2d::CCRenderTexture::create @ 0xaf99f8 // > cocos2d::CCRenderTexture::create @ 0xaf9a80 // > cocos2d::CCRenderTexture::create @ 0xaf9b10 // > @ 0x4a2e0 // > @ 0x80be0 // // 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 // // Alternative name is '_ZN7cocos2d15CCRenderTextureC1Ev' void __fastcall cocos2d::CCRenderTexture::CCRenderTexture(cocos2d::CCRenderTexture *this) { cocos2d::CCNotificationCenter *v2; // x0 cocos2d::CCNotificationCenter *v3; // x0 cocos2d::SEL_CallFuncO v4; // 0:x2.16 cocos2d::SEL_CallFuncO v5; // 0:x2.16 cocos2d::CCNode::CCNode(this); this->m_pSprite = nullptr; this->m_uFBO = 0; this->__vftable = (cocos2d::CCRenderTexture_vtbl *)&off_1211920; this->m_uDepthRenderBufffer = 0; this->m_nOldFBO = 0; this->m_pTexture = nullptr; this->m_pTextureCopy = nullptr; this->m_pUITextureImage = nullptr; this->m_ePixelFormat = 0; this->m_uClearFlags = 0; this->m_nClearStencil = 0; this->m_bAutoDraw = 0; this->m_nWidth = 0; this->m_nHeight = 0; this->m_sClearColor.r = 0.0; this->m_sClearColor.g = 0.0; this->m_sClearColor.b = 0.0; this->m_sClearColor.a = 0.0; this->m_fClearDepth = 0.0; this->m_fInternalScaleX = 0.0; this->m_fInternalScaleY = 0.0; v2 = cocos2d::CCNotificationCenter::sharedNotificationCenter(); v4.adj = 0; v4.ptr = (void (__cdecl *)(cocos2d::CCObject *))cocos2d::CCRenderTexture::listenToBackground; cocos2d::CCNotificationCenter::addObserver(v2, this, v4, "event_come_to_background", nullptr); v3 = cocos2d::CCNotificationCenter::sharedNotificationCenter(); v5.adj = 0; v5.ptr = (void (__cdecl *)(cocos2d::CCObject *))cocos2d::CCRenderTexture::listenToForeground; cocos2d::CCNotificationCenter::addObserver(v3, this, v5, "event_come_to_foreground", nullptr); }
GD Web Decomp Icon

GD Web Decomp

Raw Source