//
// cocos2d::CCLens3D::initWithDuration from 0xd2dcbc to 0xd2dd74 (184 bytes)
//
// 4 xrefs:
// > cocos2d::CCLens3D::create @ 0xd2de10
// > cocos2d::CCLens3D::copyWithZone @ 0xd2de88
// > cocos2d::CCLens3D::copyWithZone @ 0xd2df3c
// > ??> @ 0x5d940
//
// 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 13:07:18 +0000
//
__int64 __fastcall cocos2d::CCLens3D::initWithDuration(
cocos2d::CCLens3D *this,
float a2,
const cocos2d::CCSize *a3,
const cocos2d::CCPoint *a4,
float a5)
{
unsigned __int8 v8; // w0
unsigned int v9; // w21
_BYTE v11[8]; // [xsp+50h] [xbp+50h] BYREF
v8 = cocos2d::CCGridAction::initWithDuration(this, a2, a3);
v9 = v8;
if ( v8 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -1.0, -1.0);
cocos2d::CCPoint::operator=((char *)this + 100, v11);
cocos2d::CCLens3D::setPosition(this, a4);
*((_BYTE *)this + 117) = 1;
*((float *)this + 27) = a5;
strcpy((char *)this + 112, "333?");
}
return v9;
}