//
// cocos2d::CCLens3D::create from 0x5b49e8 to 0x5b4a46 (94 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCLens3D *cocos2d::CCLens3D::create(float a1, const cocos2d::CCSize *a2, const cocos2d::CCPoint *a3, float a4)
{
int v8; // r4
v8 = operator new(0x6Cu);
memset((void *)v8, 0, 0x6Cu);
cocos2d::CCGrid3DAction::CCGrid3DAction((cocos2d::CCGrid3DAction *)v8);
*(_DWORD *)v8 = &off_A9FB40;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v8 + 88));
if ( cocos2d::CCLens3D::initWithDuration((cocos2d::CCLens3D *)v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v8);
return nullptr;
}
return (cocos2d::CCLens3D *)v8;
}