//
// cocos2d::CCLens3D::initWithDuration from 0x7bb1c4 to 0x7bb224 (96 bytes)
//
// 2 xrefs:
// > cocos2d::CCLens3D::create @ 0x7bb270
// > cocos2d::CCLens3D::copyWithZone @ 0x7bb2f4
//
// 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:15 +0000
//
int __fastcall cocos2d::CCLens3D::initWithDuration(
cocos2d::CCLens3D *this,
float a2,
const cocos2d::CCSize *a3,
const cocos2d::CCPoint *a4,
float a5)
{
int v7; // r6
_DWORD v9[3]; // [sp+4h] [bp-Ch] BYREF
*(float *)v9 = a2;
v9[1] = a3;
v9[2] = a4;
v7 = cocos2d::CCGridAction::initWithDuration(this, a2, a3);
if ( v7 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -1.0, -1.0);
cocos2d::CCPoint::operator=((char *)this + 88, v9);
cocos2d::CCLens3D::setPosition(this, a4);
*((float *)this + 24) = a5;
strcpy((char *)this + 100, "333?");
*((_BYTE *)this + 105) = 1;
}
return v7;
}