//
// cocos2d::CCRenderTexture::create_1 from 0x1004673b4 to 0x100467464 (176 bytes)
//
// 1 xrefs:
// > PlayerObject::playDeathEffect @ 0x100064c18
//
// 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_1(int a1, int a2)
{
char *v4; // x19
v4 = (char *)operator new(0x1A8u);
cocos2d::CCNode::CCNode((__int64)v4);
*(_QWORD *)v4 = off_10096AAD0;
*((_QWORD *)v4 + 40) = 0;
*((_QWORD *)v4 + 41) = 0;
*((_DWORD *)v4 + 84) = 0;
*(_OWORD *)(v4 + 344) = 0u;
*(_OWORD *)(v4 + 360) = 0u;
*(_OWORD *)(v4 + 376) = 0u;
*(_OWORD *)(v4 + 385) = 0u;
*(_QWORD *)(v4 + 412) = 0;
*(_QWORD *)(v4 + 404) = 0;
if ( cocos2d::CCRenderTexture::initWithWidthAndHeight((__int64)v4, a1, a2, 0, 0) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}