//
// cocos2d::CCFadeOut::create from 0x1003a42e0 to 0x1003a4369 (137 bytes)
//
// 61 xrefs:
// > PlayLayer::showHint @ 0x100088505
// > cocos2d::CCTransitionFade::onEnter @ 0x1000a782b
// > GJBaseGameLayer::playExitDualEffect @ 0x10010753e
// > CheckpointGameObject::triggerActivated @ 0x1001b5ea4
// > PlayerObject::playDeathEffect @ 0x1001efa20
// > PlayerObject::playDeathEffect @ 0x1001f00a7
// > PlayerObject::playDeathEffect @ 0x1001f0e15
// > PlayerObject::playDeathEffect @ 0x1001f124c
// > PlayerObject::playDeathEffect @ 0x1001f1957
// > PlayerObject::playDeathEffect @ 0x1001f2038
// > PlayerObject::playDeathEffect @ 0x1001f2713
// > PlayerObject::playDeathEffect @ 0x1001f2abf
// > PlayerObject::playDeathEffect @ 0x1001f304e
// > PlayerObject::playDeathEffect @ 0x1001f35fa
// > PlayerObject::playDeathEffect @ 0x1001f3de6
// > PlayerObject::playDeathEffect @ 0x1001f43d2
// > PlayerObject::playDeathEffect @ 0x1001f4a39
// > PlayerObject::playDeathEffect @ 0x1001f4d20
// > PlayerObject::playDeathEffect @ 0x1001f5951
// > PlayerObject::playDeathEffect @ 0x1001f5f85
// > PlayerObject::playDeathEffect @ 0x1001f665c
// > LevelCell::playRecallUnlock @ 0x10023aa98
// > LevelCell::playRecallUnlock @ 0x10023aab7
// > TextAlertPopup::init @ 0x10029c275
// > GJPathPage::unlockAnimationStep3 @ 0x1002ecf2e
// > TextArea::fadeInCharacters @ 0x10030dfe3
// > GauntletLayer::unlockActiveItem @ 0x10037f7b5
// > GauntletLayer::unlockActiveItem @ 0x10037f8ec
// > GauntletLayer::unlockActiveItem @ 0x10037fa21
// > sub_10039E030 @ 0x10039e413
// > GJWorldNode::unlockActiveItem @ 0x1003ac5a6
// > GJWorldNode::unlockActiveItem @ 0x1003ac66c
// > GJWorldNode::unlockActiveItem @ 0x1003ac72f
// > PlayerObject::deactivateStreak @ 0x1003e9fd0
// > PlayerObject::startDashing @ 0x1003fedd2
// > PlayerObject::playerDestroyed @ 0x100400b77
// > PlayerObject::fadeOutStreak2 @ 0x100400d77
// > sub_1004074D0 @ 0x100407568
// > LevelPage::playCoinEffect @ 0x1004245f5
// > LevelPage::onSecretDoor @ 0x1004247ee
// > SecretGame01Layer::scaleOutGame @ 0x100474e94
// > SecretGame01Layer::scaleOutGame @ 0x100474eea
// > SecretGame01Layer::scaleOutGame @ 0x10047500a
// > SecretGame01Layer::scaleOutGame @ 0x10047507f
// > SecretGame01Layer::didSelectCorrectObject @ 0x100475207
// > SecretGame01Layer::didSelectCorrectObject @ 0x100475284
// > sub_100499DE0 @ 0x10049a1c3
// > SecretNumberLayer::playNumberEffect @ 0x10049a4b3
// > SecretNumberLayer::playNumberEffect @ 0x10049a729
// > CCLightFlash::showFlash @ 0x100502e68
// > GauntletNode::onUnlock @ 0x1005a0b43
// > GameObject::playShineEffect @ 0x10068f16a
// > cocos2d::CCLightning::initWithStrikePoint @ 0x1006af6e1
// > cocos2d::CCLightning::strike @ 0x1006af75d
// > cocos2d::CCLightning::strikeRandom @ 0x1006af91b
// > cocos2d::CCLightning::strikeWithSeed @ 0x1006af984
// > sub_1006D3C70 @ 0x1006d4053
// > AchievementBar::show @ 0x1006f6e94
// > AchievementBar::show @ 0x1006f6ee0
// > AchievementBar::show @ 0x1006f6f4e
// > CurrencySprite::init @ 0x10088d858
//
// 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 12:29:21 +0000
//
_OWORD *__fastcall cocos2d::CCFadeOut::create(__m128 a1)
{
_OWORD *v1; // rbx
__m128 v3; // xmm0
v1 = operator new(0x60u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
v1[4] = 0;
v1[5] = 0;
cocos2d::CCAction::CCAction(v1);
*(_QWORD *)v1 = off_100B32E78;
v3 = _mm_cmpeq_ss((__m128)0LL, a1);
*((_QWORD *)v1 + 10) = _mm_andnot_ps(v3, a1).u32[0] | v3.i32[0] & 0x34000000;
*((_BYTE *)v1 + 88) = 1;
cocos2d::CCObject::autorelease(v1);
return v1;
}