//
// cocos2d::CCFadeIn::create from 0x1003a4060 to 0x1003a40e9 (137 bytes)
//
// 43 xrefs:
// > PlayLayer::showHint @ 0x1000884e8
// > cocos2d::CCTransitionFade::onEnter @ 0x1000a77ff
// > RewardUnlockLayer::init @ 0x1001ff7b0
// > RewardUnlockLayer::init @ 0x1001ff8a8
// > RewardUnlockLayer::init @ 0x1001ffc00
// > RewardUnlockLayer::playLabelEffect @ 0x100202cce
// > RewardUnlockLayer::playLabelEffect @ 0x100202cfa
// > RewardUnlockLayer::playLabelEffect @ 0x100202d55
// > RewardUnlockLayer::showCloseButton @ 0x100202e8c
// > LevelAreaLayer::fadeInsideTower @ 0x100265e3d
// > LevelAreaInnerLayer::init @ 0x1002663c6
// > LevelAreaInnerLayer::onDoor @ 0x100267206
// > LevelAreaInnerLayer::dialogClosed @ 0x100267f9a
// > sub_100267FE0 @ 0x100268021
// > TextArea::fadeIn @ 0x10030d917
// > TextArea::fadeInCharacters @ 0x10030df97
// > SimplePlayer::iconFinishedLoading @ 0x100359dcb
// > GauntletLayer::setupGauntlet @ 0x10037eee8
// > GJWorldNode::addDotsToLevel @ 0x1003add40
// > DialogLayer::fadeInTextFinished @ 0x1003b1873
// > sub_1003B1890 @ 0x1003b18e4
// > SecretLayer2::showSecretLevel @ 0x100499ba7
// > SecretNumberLayer::playNumberEffect @ 0x10049a470
// > SecretNumberLayer::playNumberEffect @ 0x10049a6d2
// > SecretLayer3::onBack @ 0x10049ef7b
// > SecretLayer3::firstInteractionStep1 @ 0x10049f03b
// > SecretLayer3::firstInteractionStep3 @ 0x10049f566
// > SecretLayer3::revealStep3 @ 0x1004a0359
// > SecretLayer3::dialogClosed @ 0x1004a132f
// > EndLevelLayer::playStarEffect @ 0x1004bb83b
// > EndLevelLayer::playStarEffect @ 0x1004bb867
// > EndLevelLayer::playCoinEffect @ 0x1004bb9b8
// > EndLevelLayer::playCurrencyEffect @ 0x1004bbd15
// > EndLevelLayer::playCurrencyEffect @ 0x1004bbd41
// > EndLevelLayer::playCurrencyEffect @ 0x1004bbd6d
// > EndLevelLayer::playDiamondEffect @ 0x1004bc075
// > EndLevelLayer::playDiamondEffect @ 0x1004bc0a1
// > EndLevelLayer::playDiamondEffect @ 0x1004bc0cd
// > GameToolbox::getDropActionWDelay @ 0x1004e8d2a
// > GameToolbox::getDropActionWEnd @ 0x1004e8de5
// > CCLightFlash::showFlash @ 0x100502e24
// > GameObject::playShineEffect @ 0x10068f15a
// > AchievementBar::show @ 0x1006f6f1e
//
// 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::CCFadeIn::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_100B32DD8;
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;
}