//
// cocos2d::CCRenderTexture::create from 0x7e0850 to 0x7e0898 (72 bytes)
//
// 0 xrefs:
//
// 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, int a4)
{
cocos2d::CCRenderTexture *v8; // r4
v8 = (cocos2d::CCRenderTexture *)operator new(0x158u);
cocos2d::CCRenderTexture::CCRenderTexture(v8);
if ( cocos2d::CCRenderTexture::initWithWidthAndHeight((int)v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v8);
return v8;
}
else
{
(*(void (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v8 + 8))(v8);
return nullptr;
}
}