//
// cocos2d::CCRenderTexture::create from 0x7e0898 to 0x7e08d6 (62 bytes)
//
// 6 xrefs:
// > MapSelectLayer::checkTouchMonster @ 0x63faf4
// > PlayerObject::playDeathEffect @ 0x6a3346
// > cocos2d::extension::CCControlSwitchSprite::needsLayout @ 0x7aa258
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x7dadb0
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x7dae56
// > cocos2d::CCTransitionProgress::onEnter @ 0x7dbbc2
//
// 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(cocos2d::CCRenderTexture *this, int a2, int a3)
{
cocos2d::CCRenderTexture *v5; // r4
v5 = (cocos2d::CCRenderTexture *)operator new(0x158u);
cocos2d::CCRenderTexture::CCRenderTexture(v5);
if ( cocos2d::CCRenderTexture::initWithWidthAndHeight((int)v5, (int)this, a2, 0, 0) )
{
cocos2d::CCObject::autorelease(v5);
return v5;
}
else
{
(*(void (__fastcall **)(cocos2d::CCRenderTexture *))(*(_DWORD *)v5 + 8))(v5);
return nullptr;
}
}