//
// cocos2d::CCLens3D::initWithDuration from 0x5b497c to 0x5b49dc (96 bytes)
//
// 2 xrefs:
// > cocos2d::CCLens3D::create @ 0x5b4a28
// > cocos2d::CCLens3D::copyWithZone @ 0x5b4aac
//
// 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
//
bool cocos2d::CCLens3D::initWithDuration(
cocos2d::CCLens3D *a1,
float a2,
const cocos2d::CCSize *a3,
const cocos2d::CCPoint *a4,
float a5)
{
_BOOL4 v7; // r6
int v8; // r2
bool v9; // r3
cocos2d::CCPoint v11; // [sp+4h] [bp-Ch] BYREF
const cocos2d::CCPoint *v12; // [sp+Ch] [bp-4h]
v11.x = a2;
LODWORD(v11.y) = a3;
v12 = a4;
v7 = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( v7 )
{
cocos2d::CCPoint::CCPoint(&v11, -1.0, -1.0);
cocos2d::CCPoint::operator=((PlayerObject *)&a1[1].m_nLuaID, COERCE_FLOAT(&v11), v8, v9);
cocos2d::CCLens3D::setPosition(a1, a4);
*(float *)&a1[1].m_uReference = a5;
strcpy((char *)&a1[1].m_uAutoReleaseCount, "333?");
BYTE1(a1[1].m_eObjType) = 1;
}
return v7;
}