//
// cocos2d::CCFadeTo::create from 0x180034080 to 0x180034129 (169 bytes)
//
// 3 xrefs:
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x180056c01
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba6a8
//
// 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::CCFadeTo *__fastcall cocos2d::CCFadeTo::create(float a1, char a2)
{
__int64 v3; // rbx
v3 = sub_1800E4AC0(0x68u);
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;
*(_QWORD *)(v3 + 96) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);
*(_DWORD *)(v3 + 80) = 0;
*(_QWORD *)v3 = &cocos2d::CCFadeTo::`vftable';
}
else
{
v3 = 0;
}
*(float *)(v3 + 80) = a1;
if ( a1 == 0.0 )
*(_DWORD *)(v3 + 80) = 872415232;
*(_DWORD *)(v3 + 88) = 0;
*(_BYTE *)(v3 + 92) = 1;
*(_BYTE *)(v3 + 96) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return (struct cocos2d::CCFadeTo *)v3;
}