//
// cocos2d::CCLens3D::initWithDuration from 0x18002d620 to 0x18002d6c0 (160 bytes)
//
// 6 xrefs:
// > cocos2d::CCLens3D::copyWithZone @ 0x18002c576
// > cocos2d::CCLens3D::create @ 0x18002cfa0
// > ??> @ 0x18013db94
// > ??> @ 0x18013dba4
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9e68
//
// This function is hookable on this platform (idp: pc, 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 11:21:32 +0000
//
char __fastcall cocos2d::CCLens3D::initWithDuration(
cocos2d::CCLens3D *this,
float a2,
const struct cocos2d::CCSize *a3,
const struct cocos2d::CCPoint *a4,
float a5)
{
float *v7; // rax
float v9[6]; // [rsp+20h] [rbp-18h] BYREF
if ( !cocos2d::CCGridAction::initWithDuration(this, a2, a3) )
return 0;
v7 = kmVec2Fill(v9, -1.0, -1.0);
cocos2d::CCSize::operator=((_DWORD *)this + 26, v7);
if ( !cocos2d::CCSize::equals(a4, (cocos2d::CCLens3D *)((char *)this + 104)) )
{
cocos2d::CCSize::operator=((_DWORD *)this + 26, a4);
*((_BYTE *)this + 121) = 1;
}
*((float *)this + 28) = a5;
*((_DWORD *)this + 29) = 1060320051;
*((_WORD *)this + 60) = 256;
return 1;
}