//
// cocos2d::CCRenderTexture::create from 0x100466fac to 0x100467060 (180 bytes)
//
// 1 xrefs:
// > sub_10030BA7C @ 0x10030bc4c
//
// This function is hookable on this platform (idp: arm, 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 11:05:32 +0000
//
char *__fastcall cocos2d::CCRenderTexture::create(__int64 a1, __int64 a2, __int64 a3)
{
char *v6; // x19
v6 = (char *)operator new(0x1A8u);
cocos2d::CCNode::CCNode((__int64)v6);
*(_QWORD *)v6 = off_10096AAD0;
*((_QWORD *)v6 + 40) = 0;
*((_QWORD *)v6 + 41) = 0;
*((_DWORD *)v6 + 84) = 0;
*(_OWORD *)(v6 + 344) = 0u;
*(_OWORD *)(v6 + 360) = 0u;
*(_OWORD *)(v6 + 376) = 0u;
*(_OWORD *)(v6 + 385) = 0u;
*(_QWORD *)(v6 + 412) = 0;
*(_QWORD *)(v6 + 404) = 0;
if ( (unsigned int)cocos2d::CCRenderTexture::initWithWidthAndHeight(v6, a1, a2, a3, 0) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}