//
// cocos2d::CCBezierBy::create from 0x180033c30 to 0x180033cff (207 bytes)
//
// 3 xrefs:
// > cocos2d::CCBezierBy::reverse @ 0x180036262
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba660
//
// 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::CCBezierBy *__fastcall cocos2d::CCBezierBy::create(float a1, const struct cocos2d::_ccBezierConfig *a2)
{
__int64 v3; // rax
cocos2d::CCBezierBy *v4; // rdi
v3 = sub_1800E4AC0(0x88u);
if ( v3 )
{
*(_OWORD *)v3 = 0;
*(_OWORD *)(v3 + 16) = 0;
*(_OWORD *)(v3 + 32) = 0;
*(_OWORD *)(v3 + 48) = 0;
*(_OWORD *)(v3 + 64) = 0;
*(_OWORD *)(v3 + 80) = 0;
*(_OWORD *)(v3 + 96) = 0;
*(_OWORD *)(v3 + 112) = 0;
*(_QWORD *)(v3 + 128) = 0;
v4 = cocos2d::CCBezierBy::CCBezierBy((cocos2d::CCBezierBy *)v3);
}
else
{
v4 = nullptr;
}
*((float *)v4 + 20) = a1;
if ( a1 == 0.0 )
*((_DWORD *)v4 + 20) = 872415232;
*((_DWORD *)v4 + 22) = 0;
*((_BYTE *)v4 + 92) = 1;
cocos2d::CCSize::operator=((_DWORD *)v4 + 24, a2);
cocos2d::CCSize::operator=((_DWORD *)v4 + 26, (_DWORD *)a2 + 2);
cocos2d::CCSize::operator=((_DWORD *)v4 + 28, (_DWORD *)a2 + 4);
cocos2d::CCObject::autorelease(v4);
return v4;
}