//
// cocos2d::CCFadeIn::create from 0x180033f40 to 0x180033fd3 (147 bytes)
//
// 4 xrefs:
// > cocos2d::CCFadeOut::reverse @ 0x1800362b5
// > cocos2d::CCTransitionFade::onEnter @ 0x180056d7b
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba690
//
// 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
//
struct cocos2d::CCFadeIn *__fastcall cocos2d::CCFadeIn::create(float a1)
{
cocos2d::CCAction *v1; // rax
cocos2d::CCAction *v2; // rbx
v1 = (cocos2d::CCAction *)sub_1800E4AC0(0x60u);
v2 = v1;
if ( v1 )
{
*(_OWORD *)v1 = 0;
*((_OWORD *)v1 + 1) = 0;
*((_OWORD *)v1 + 2) = 0;
*((_OWORD *)v1 + 3) = 0;
*((_OWORD *)v1 + 4) = 0;
*((_OWORD *)v1 + 5) = 0;
cocos2d::CCAction::CCAction(v1);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = &cocos2d::CCFadeIn::`vftable';
}
else
{
v2 = nullptr;
}
*((float *)v2 + 20) = a1;
if ( a1 == 0.0 )
*((_DWORD *)v2 + 20) = 872415232;
*((_DWORD *)v2 + 22) = 0;
*((_BYTE *)v2 + 92) = 1;
cocos2d::CCObject::autorelease(v2);
return v2;
}