//
// cocos2d::CCRenderTexture::create from 0x1006c8070 to 0x1006c811f (175 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:35:34 +0000
//
_OWORD *__fastcall cocos2d::CCRenderTexture::create(unsigned int a1, unsigned int a2, unsigned int a3, unsigned int a4)
{
_OWORD *v6; // rbx
v6 = operator new(0x1A8u);
cocos2d::CCNode::CCNode((__int64)v6);
*(_QWORD *)v6 = off_100B8EFC0;
v6[20] = 0;
*((_DWORD *)v6 + 84) = 0;
*(_OWORD *)((char *)v6 + 344) = 0;
*(_OWORD *)((char *)v6 + 360) = 0;
*(_OWORD *)((char *)v6 + 376) = 0;
*(_OWORD *)((char *)v6 + 385) = 0;
*(_OWORD *)((char *)v6 + 404) = 0;
if ( (unsigned __int8)cocos2d::CCRenderTexture::initWithWidthAndHeight(v6, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}