//
// cocos2d::CCRenderTexture::create from 0x7e08e4 to 0x7e0920 (60 bytes)
//
// 1 xrefs:
// > ShaderLayer::setupShader @ 0x684fc6
//
// 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:49 +0000
//
cocos2d::CCRenderTexture *__fastcall cocos2d::CCRenderTexture::create(int a1, int a2, int a3)
{
cocos2d::CCRenderTexture *v6; // r4
v6 = (cocos2d::CCRenderTexture *)operator new(0x158u);
cocos2d::CCRenderTexture::CCRenderTexture(v6);
if ( cocos2d::CCRenderTexture::initWithWidthAndHeight((int)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
(*(void (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v6 + 8))(v6);
return nullptr;
}
}