//
// cocos2d::CCLens3D::create from 0x10026a640 to 0x10026a75c (284 bytes)
//
// 0 xrefs:
//
// 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 12:27:35 +0000
//
_OWORD *__fastcall cocos2d::CCLens3D::create(__int64 a1, __int64 a2, float a3, float a4)
{
_OWORD *v4; // rbx
char *v5; // r15
_BYTE v7[8]; // [rsp+0h] [rbp-30h] BYREF
float v8; // [rsp+8h] [rbp-28h]
float v9; // [rsp+Ch] [rbp-24h]
v9 = a4;
v8 = a3;
v4 = operator new(0x78u);
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
*((_QWORD *)v4 + 14) = 0;
cocos2d::CCAction::CCAction(v4);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = off_100AE05B0;
sub_100278600((char *)v4 + 92);
*(_QWORD *)v4 = off_100AF7168;
v5 = (char *)v4 + 100;
sub_1002782A0((char *)v4 + 100);
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration((__int64)v4, a1) )
{
sub_100278250(v7, -1.0, -1.0);
sub_100278300(v5, v7);
if ( !(unsigned __int8)sub_100278420(a2, v5) )
sub_100278300(v5, a2);
*((float *)v4 + 27) = v9;
*((_DWORD *)v4 + 28) = 1060320051;
*((_WORD *)v4 + 58) = 256;
cocos2d::CCObject::autorelease(v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}