//
// cocos2d::CCLens3D::initWithDuration from 0xabbfb4 to 0xabc06c (184 bytes)
//
// 4 xrefs:
// > cocos2d::CCLens3D::create @ 0xabc108
// > cocos2d::CCLens3D::copyWithZone @ 0xabc180
// > cocos2d::CCLens3D::copyWithZone @ 0xabc234
// > ??> @ 0x41400
//
// 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)
{
bool v8; // w21
float v9; // s0
float v10; // s1
cocos2d::CCPoint v12; // [xsp+50h] [xbp+50h] BYREF
v8 = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( v8 )
{
cocos2d::CCPoint::CCPoint(&v12, -1.0, -1.0);
cocos2d::CCPoint::operator=((char *)&a1[1].__vftable + 4, v9, v10);
cocos2d::CCLens3D::setPosition(a1, a4);
BYTE1(a1[1].m_uReference) = 1;
*(float *)&a1[1].m_nLuaID = a5;
strcpy(
(char *)&a1[1].cocos2d::CCGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag,
"333?");
}
return v8;
}