//
// cocos2d::CCMoveTo::create from 0x180034410 to 0x1800344b2 (162 bytes)
//
// 3 xrefs:
// > cocos2d::CCTransitionMoveInL::action @ 0x180054847
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba6d8
//
// 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::CCMoveTo *__fastcall cocos2d::CCMoveTo::create(float a1, const struct cocos2d::CCPoint *a2)
{
cocos2d::CCMoveTo *v3; // rax
cocos2d::CCMoveTo *v4; // rbx
v3 = (cocos2d::CCMoveTo *)sub_1800E4AC0(0x80u);
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;
v4 = cocos2d::CCMoveTo::CCMoveTo(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 + 30, a2);
cocos2d::CCObject::autorelease(v4);
return v4;
}