//
// cocos2d::CCFadeTo::create from 0x1003a4570 to 0x1003a4600 (144 bytes)
//
// 117 xrefs:
// > EditorUI::updateZoom @ 0x10001235a
// > EditorUI::updateZoom @ 0x1000123aa
// > PlayLayer::showTwoPlayerGuide @ 0x10007ee56
// > PlayLayer::showTwoPlayerGuide @ 0x10007ee79
// > PlayLayer::showTwoPlayerGuide @ 0x10007eebf
// > PlayLayer::showTwoPlayerGuide @ 0x10007eee1
// > PlayLayer::showTwoPlayerGuide @ 0x10007ef26
// > PlayLayer::showTwoPlayerGuide @ 0x10007ef48
// > PlayLayer::showNewBest @ 0x100083622
// > PlayLayer::showNewBest @ 0x100083644
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x1000a7d5f
// > PlayerObject::playDeathEffect @ 0x1001ef806
// > PlayerObject::playCompleteEffect @ 0x1001f7649
// > CustomSongLayer::show @ 0x1001f9c1b
// > RewardsPage::show @ 0x1001ff066
// > RewardUnlockLayer::init @ 0x1001ff8d8
// > RewardUnlockLayer::init @ 0x1001ffe08
// > GJChestSprite::switchToState @ 0x100201e9a
// > GJChestSprite::switchToState @ 0x100201ebf
// > DailyLevelPage::show @ 0x100216883
// > sub_10021DDB0 @ 0x10021dde4
// > SetupTriggerPopup::sliderBegan @ 0x10021de5e
// > SetupTriggerPopup::sliderBegan @ 0x10021deb3
// > SetupTriggerPopup::sliderBegan @ 0x10021deeb
// > SetupTriggerPopup::sliderEnded @ 0x10021df91
// > SetupTriggerPopup::sliderEnded @ 0x10021dfe9
// > SetupTriggerPopup::sliderEnded @ 0x10021e024
// > GameObject::playPickupAnimation @ 0x100248236
// > GameObject::playDestroyObjectAnim @ 0x10024896d
// > GameObject::playDestroyObjectAnim @ 0x100248be0
// > GameObject::playDestroyObjectAnim @ 0x100248d3e
// > GameObject::playDestroyObjectAnim @ 0x100249418
// > LevelAreaLayer::init @ 0x1002641f9
// > LevelAreaLayer::init @ 0x10026421e
// > LevelAreaLayer::onClickDoor @ 0x100264e14
// > LevelAreaLayer::addGodRay @ 0x100264fdb
// > LevelAreaLayer::addGodRay @ 0x100265000
// > LevelAreaLayer::addGodRay @ 0x100265133
// > LevelAreaLayer::addGodRay @ 0x100265164
// > LevelAreaLayer::addTorch @ 0x100265887
// > LevelAreaLayer::addTorch @ 0x1002658ac
// > LevelAreaInnerLayer::init @ 0x100266ce9
// > LevelAreaInnerLayer::init @ 0x100266f25
// > SlideInLayer::showLayer @ 0x10027a211
// > SlideInLayer::hideLayer @ 0x10027a2e1
// > TextAlertPopup::init @ 0x10029c258
// > TextAlertPopup::init @ 0x10029c3db
// > TextAlertPopup::init @ 0x10029c3fa
// > GJPromoPopup::show @ 0x1002a4a43
// > GJPathsLayer::show @ 0x1002e9d03
// > GJPathPage::playUnlockAnimation @ 0x1002ebc52
// > GJPathPage::unlockAnimationStep3 @ 0x1002ecf67
// > GJPathPage::show @ 0x1002ed9e3
// > GJPathRewardPopup::onClaim @ 0x1002ee127
// > TopArtistsLayer::show @ 0x1002fc8c3
// > CommunityCreditsPage::show @ 0x10030c263
// > GauntletLayer::unlockActiveItem @ 0x10037f7e1
// > GauntletLayer::unlockActiveItem @ 0x10037f918
// > GauntletLayer::unlockActiveItem @ 0x10037fa4c
// > SupportLayer::customSetup @ 0x100382bb6
// > ChallengesPage::show @ 0x1003880e3
// > WorldLevelPage::show @ 0x1003afff6
// > DialogLayer::animateIn @ 0x1003b1b29
// > sub_1003C1980 @ 0x1003c1a3a
// > sub_1003C1980 @ 0x1003c1ac5
// > LevelLeaderboard::show @ 0x1003c94c3
// > PlayerObject::stopDashing @ 0x1003eef88
// > PlayerObject::stopDashing @ 0x1003eefa2
// > PlayerObject::createFadeOutDartStreak @ 0x100402906
// > FollowRewardPage::show @ 0x10040e553
// > SecretLayer5::onSubmit @ 0x1004701cc
// > SecretLayer5::animateHead @ 0x100470dc5
// > SecretLayer5::animateHead @ 0x100470df7
// > SecretLayer5::animateHead @ 0x100470e6b
// > SecretLayer5::handleSecretResponse @ 0x1004710c0
// > SecretLayer5::showSuccessAnimation @ 0x10047115a
// > SecretLayer5::showSuccessAnimation @ 0x1004711d9
// > SecretLayer5::showSuccessAnimation @ 0x10047120b
// > SecretLayer5::showFailAnimation @ 0x100471a42
// > SecretLayer5::showFailAnimation @ 0x100471aba
// > SecretLayer5::showFailAnimation @ 0x100471aec
// > SecretLayer5::showTextInput @ 0x100471fa3
// > SecretLayer5::claimOnlineReward @ 0x1004721e3
// > SecretLayer5::unlockUI @ 0x10047228a
// > SecretLayer5::hideTextInput @ 0x1004724ec
// > FLAlertLayer::show @ 0x100495294
// > SecretLayer3::init @ 0x10049ce49
// > SecretLayer3::init @ 0x10049ce6e
// > SecretLayer3::dialogClosed @ 0x1004a1174
// > SecretLayer3::dialogClosed @ 0x1004a11e4
// > LoadingCircle::show @ 0x1004b8297
// > LoadingCircle::show @ 0x1004b8303
// > LoadingCircle::fadeAndRemove @ 0x1004b8352
// > LoadingCircle::fadeAndRemove @ 0x1004b83a7
// > LoadingCircleSprite::fadeInCircle @ 0x1004b8613
// > EndLevelLayer::customSetup @ 0x1004ba324
// > EndLevelLayer::onHideLayer @ 0x1004bb367
// > EndLevelLayer::showLayer @ 0x1004bb4c3
// > ShardsPage::show @ 0x1004c1d03
// > RetryLevelLayer::showLayer @ 0x1004f8113
// > GauntletNode::showUnlockAnimation @ 0x1005a0c99
// > CustomSFXWidget::init @ 0x1006b677e
// > CustomSFXWidget::hideLoadingArt @ 0x1006b74c3
// > CustomSFXWidget::updateSFXInfo @ 0x1006b77df
// > CustomSFXWidget::showLoadingArt @ 0x1006b83ee
// > CustomSFXWidget::downloadFailed @ 0x1006b8663
// > GJDropDownLayer::showLayer @ 0x1006bbbd7
// > GJDropDownLayer::hideLayer @ 0x1006bbcd4
// > GhostTrailEffect::trailSnapshot @ 0x1006d0d10
// > GhostTrailEffect::trailSnapshot @ 0x1006d0d2b
// > GhostTrailEffect::trailSnapshot @ 0x1006d0dfb
// > CustomSongWidget::showError @ 0x1006fb1a4
// > CustomSongWidget::showError @ 0x1006fb1e6
// > CharacterColorPage::show @ 0x10073dfa3
// > InfoLayer::show @ 0x100897051
// > ProfilePage::show @ 0x1008a6086
// > ThreadViewPopup::mountVirtualRow @ 0x1009387bb
//
// 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::CCFadeTo::create(char a1, __m128 a2)
{
_OWORD *v2; // rbx
__m128 v4; // xmm0
v2 = operator new(0x60u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
cocos2d::CCAction::CCAction(v2);
*(_QWORD *)v2 = off_100B32F18;
v4 = _mm_cmpeq_ss((__m128)0LL, a2);
*((_QWORD *)v2 + 10) = _mm_andnot_ps(v4, a2).u32[0] | v4.i32[0] & 0x34000000;
*((_BYTE *)v2 + 88) = 1;
*((_BYTE *)v2 + 89) = a1;
cocos2d::CCObject::autorelease(v2);
return v2;
}