//
// cocos2d::CCSkewBy::create from 0x180034e30 to 0x180034f3c (268 bytes)
//
// 3 xrefs:
// > cocos2d::CCSkewBy::reverse @ 0x18003649d
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba780
//
// 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:34 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSkewBy *__fastcall cocos2d::CCSkewBy::create(float a1, float a2, float a3)
{
cocos2d::CCSkewBy *v3; // rax
cocos2d::CCSkewBy *v4; // rbx
bool (__fastcall *v5)(cocos2d::CCSkewBy *__hidden, float, float, float); // rdx
char v6; // al
cocos2d::CCAction *(__fastcall *v8)(cocos2d::CCAction *, char); // r8
v3 = (cocos2d::CCSkewBy *)sub_1800E4AC0(0x80u);
v4 = v3;
if ( v3 )
{
*(_OWORD *)v3 = 0;
*((_OWORD *)v3 + 1) = 0;
*((_OWORD *)v3 + 2) = 0;
*((_OWORD *)v3 + 3) = 0;
*((_OWORD *)v3 + 4) = 0;
*((_OWORD *)v3 + 5) = 0;
*((_OWORD *)v3 + 6) = 0;
*((_OWORD *)v3 + 7) = 0;
cocos2d::CCAction::CCAction(v3);
*((_DWORD *)v4 + 20) = 0;
*((_QWORD *)v4 + 12) = 0;
*((_QWORD *)v4 + 13) = 0;
*((_QWORD *)v4 + 14) = 0;
*((_QWORD *)v4 + 15) = 0;
*(_QWORD *)v4 = &cocos2d::CCSkewBy::`vftable';
}
else
{
v4 = nullptr;
}
if ( !v4 )
return v4;
v5 = *(bool (__fastcall **)(cocos2d::CCSkewBy *__hidden, float, float, float))(*(_QWORD *)v4 + 112LL);
if ( v5 == cocos2d::CCSkewBy::initWithDuration )
v6 = cocos2d::CCSkewBy::initWithDuration(v4, a1, a2, a3);
else
v6 = ((__int64 (__fastcall *)(cocos2d::CCSkewBy *))v5)(v4);
if ( v6 )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
v8 = *(cocos2d::CCAction *(__fastcall **)(cocos2d::CCAction *, char))(*(_QWORD *)v4 + 8LL);
if ( v8 == sub_18002C0D0 )
sub_18002C0D0(v4, 1);
else
v8(v4, 1);
return nullptr;
}