//
// cocos2d::CCFadeOut::create from 0x1003baee0 to 0x1003baf69 (137 bytes)
//
// 59 xrefs:
// > PlayLayer::showHint @ 0x1000ba9b5
// > cocos2d::CCTransitionFade::onEnter @ 0x1000d8bbb
// > GJBaseGameLayer::playExitDualEffect @ 0x100129b0e
// > CheckpointGameObject::triggerActivated @ 0x1001d5184
// > PlayerObject::playDeathEffect @ 0x10020c4f0
// > PlayerObject::playDeathEffect @ 0x10020cb77
// > PlayerObject::playDeathEffect @ 0x10020d8e5
// > PlayerObject::playDeathEffect @ 0x10020dd1c
// > PlayerObject::playDeathEffect @ 0x10020e427
// > PlayerObject::playDeathEffect @ 0x10020eb08
// > PlayerObject::playDeathEffect @ 0x10020f1e3
// > PlayerObject::playDeathEffect @ 0x10020f58f
// > PlayerObject::playDeathEffect @ 0x10020fb1e
// > PlayerObject::playDeathEffect @ 0x1002100ca
// > PlayerObject::playDeathEffect @ 0x1002108b6
// > PlayerObject::playDeathEffect @ 0x100210ea2
// > PlayerObject::playDeathEffect @ 0x100211509
// > PlayerObject::playDeathEffect @ 0x1002117f0
// > PlayerObject::playDeathEffect @ 0x100212421
// > PlayerObject::playDeathEffect @ 0x100212a55
// > PlayerObject::playDeathEffect @ 0x10021312c
// > TextAlertPopup::init @ 0x1002af9a0
// > GJPathPage::unlockAnimationStep3 @ 0x10030224e
// > TextArea::fadeInCharacters @ 0x100322993
// > GauntletLayer::unlockActiveItem @ 0x100394845
// > GauntletLayer::unlockActiveItem @ 0x10039497c
// > GauntletLayer::unlockActiveItem @ 0x100394ab1
// > SecretLayer4::playCoinEffect @ 0x1003b5013
// > GJWorldNode::unlockActiveItem @ 0x1003c31a6
// > GJWorldNode::unlockActiveItem @ 0x1003c326c
// > GJWorldNode::unlockActiveItem @ 0x1003c332f
// > PlayerObject::deactivateStreak @ 0x1003fcdf0
// > PlayerObject::startDashing @ 0x100411cb2
// > PlayerObject::playerDestroyed @ 0x100413a97
// > PlayerObject::fadeOutStreak2 @ 0x100413c97
// > PlayerObject::lockPlayer @ 0x10041a77b
// > LevelPage::playCoinEffect @ 0x100436b55
// > LevelPage::onSecretDoor @ 0x100436d4e
// > SecretGame01Layer::scaleOutGame @ 0x100480534
// > SecretGame01Layer::scaleOutGame @ 0x10048058a
// > SecretGame01Layer::scaleOutGame @ 0x1004806aa
// > SecretGame01Layer::scaleOutGame @ 0x10048071f
// > SecretGame01Layer::didSelectCorrectObject @ 0x1004808a7
// > SecretGame01Layer::didSelectCorrectObject @ 0x100480924
// > SecretLayer2::playCoinEffect @ 0x1004a11f3
// > SecretNumberLayer::playNumberEffect @ 0x1004a14e3
// > SecretNumberLayer::playNumberEffect @ 0x1004a1759
// > CCLightFlash::showFlash @ 0x1005041b8
// > GauntletNode::onUnlock @ 0x1005737b3
// > GameObject::playShineEffect @ 0x1005bd9fa
// > cocos2d::CCLightning::initWithStrikePoint @ 0x1005dddd1
// > cocos2d::CCLightning::strike @ 0x1005dde4d
// > cocos2d::CCLightning::strikeRandom @ 0x1005de00b
// > cocos2d::CCLightning::strikeWithSeed @ 0x1005de074
// > SecretLayer::playCoinEffect @ 0x1005fd253
// > AchievementBar::show @ 0x10061a434
// > AchievementBar::show @ 0x10061a480
// > AchievementBar::show @ 0x10061a4ee
// > CurrencySprite::init @ 0x1007aa5b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
cocos2d::CCFadeOut *__fastcall cocos2d::CCFadeOut::create(float a1)
{
cocos2d::CCFadeOut *v1; // rbx
__m128 v2; // xmm2
__m128 v3; // xmm0
v1 = (cocos2d::CCFadeOut *)operator new(0x60u);
*(_OWORD *)&v1->__vftable = 0;
*(_OWORD *)&v1->cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v1->m_uIndexInArray = 0;
*(_OWORD *)&v1->m_uOrderOfArrival = 0;
*(_OWORD *)&v1->m_pTarget = 0;
*(_OWORD *)&v1->m_fDuration = 0;
cocos2d::CCAction::CCAction(v1);
v1->__vftable = (cocos2d::CCFadeOut_vtbl *)off_10092A6C0;
v2 = *(__m128 *)&a1;
v3 = _mm_cmpeq_ss((__m128)0LL, *(__m128 *)&a1);
*(_QWORD *)&v1->m_fDuration = _mm_andnot_ps(v3, v2).u32[0] | v3.i32[0] & 0x34000000;
v1->m_bFirstTick = 1;
cocos2d::CCObject::autorelease(v1);
return v1;
}