//
// cocos2d::CCFadeTo::create from 0x1003bb170 to 0x1003bb200 (144 bytes)
//
// 108 xrefs:
// > PlayLayer::showTwoPlayerGuide @ 0x1000b1906
// > PlayLayer::showTwoPlayerGuide @ 0x1000b1929
// > PlayLayer::showTwoPlayerGuide @ 0x1000b196f
// > PlayLayer::showTwoPlayerGuide @ 0x1000b1991
// > PlayLayer::showTwoPlayerGuide @ 0x1000b19d6
// > PlayLayer::showTwoPlayerGuide @ 0x1000b19f8
// > PlayLayer::showNewBest @ 0x1000b5d62
// > PlayLayer::showNewBest @ 0x1000b5d84
// > cocos2d::CCTransitionCrossFade::onEnter @ 0x1000d90ef
// > PlayerObject::playDeathEffect @ 0x10020c2d6
// > PlayerObject::playCompleteEffect @ 0x100214119
// > CustomSongLayer::show @ 0x1002165ab
// > RewardsPage::show @ 0x10021b9a6
// > RewardUnlockLayer::init @ 0x10021c1c8
// > RewardUnlockLayer::init @ 0x10021c6f8
// > GJChestSprite::switchToState @ 0x10021e78a
// > GJChestSprite::switchToState @ 0x10021e7af
// > DailyLevelPage::show @ 0x100232233
// > SetupTriggerPopup::sliderBegan @ 0x10023941e
// > SetupTriggerPopup::sliderBegan @ 0x100239456
// > SetupTriggerPopup::sliderEnded @ 0x100239501
// > SetupTriggerPopup::sliderEnded @ 0x10023953c
// > GameObject::playPickupAnimation @ 0x10025e2a6
// > GameObject::playDestroyObjectAnim @ 0x10025e9dd
// > GameObject::playDestroyObjectAnim @ 0x10025ec50
// > GameObject::playDestroyObjectAnim @ 0x10025edae
// > GameObject::playDestroyObjectAnim @ 0x10025f488
// > LevelAreaLayer::init @ 0x100277bf9
// > LevelAreaLayer::init @ 0x100277c1e
// > LevelAreaLayer::onClickDoor @ 0x100278814
// > LevelAreaLayer::addGodRay @ 0x1002789db
// > LevelAreaLayer::addGodRay @ 0x100278a00
// > LevelAreaLayer::addGodRay @ 0x100278b33
// > LevelAreaLayer::addGodRay @ 0x100278b64
// > LevelAreaLayer::addTorch @ 0x100279287
// > LevelAreaLayer::addTorch @ 0x1002792ac
// > LevelAreaInnerLayer::init @ 0x10027a6e9
// > LevelAreaInnerLayer::init @ 0x10027a925
// > SlideInLayer::showLayer @ 0x10028eb91
// > SlideInLayer::hideLayer @ 0x10028ec61
// > TextAlertPopup::init @ 0x1002afaef
// > TextAlertPopup::init @ 0x1002afb0e
// > GJPromoPopup::show @ 0x1002b69c3
// > GJPathsLayer::show @ 0x1002ff023
// > GJPathPage::playUnlockAnimation @ 0x100300f72
// > GJPathPage::unlockAnimationStep3 @ 0x100302287
// > GJPathPage::show @ 0x100302d03
// > GJPathRewardPopup::onClaim @ 0x100303447
// > TopArtistsLayer::show @ 0x100311da3
// > CommunityCreditsPage::show @ 0x100320ec3
// > GauntletLayer::unlockActiveItem @ 0x100394871
// > GauntletLayer::unlockActiveItem @ 0x1003949a8
// > GauntletLayer::unlockActiveItem @ 0x100394adc
// > SupportLayer::customSetup @ 0x1003991f6
// > ChallengesPage::show @ 0x10039e653
// > WorldLevelPage::show @ 0x1003c6b06
// > DialogLayer::animateIn @ 0x1003c8658
// > LevelLeaderboard::show @ 0x1003dc4e3
// > PlayerObject::stopDashing @ 0x100401d98
// > PlayerObject::stopDashing @ 0x100401db2
// > PlayerObject::createFadeOutDartStreak @ 0x1004159d6
// > FollowRewardPage::show @ 0x1004218f3
// > SecretLayer5::onSubmit @ 0x10047b86c
// > SecretLayer5::animateHead @ 0x10047c465
// > SecretLayer5::animateHead @ 0x10047c497
// > SecretLayer5::animateHead @ 0x10047c50b
// > SecretLayer5::handleSecretResponse @ 0x10047c760
// > SecretLayer5::showSuccessAnimation @ 0x10047c7fa
// > SecretLayer5::showSuccessAnimation @ 0x10047c879
// > SecretLayer5::showSuccessAnimation @ 0x10047c8ab
// > SecretLayer5::showFailAnimation @ 0x10047d0e2
// > SecretLayer5::showFailAnimation @ 0x10047d15a
// > SecretLayer5::showFailAnimation @ 0x10047d18c
// > SecretLayer5::showTextInput @ 0x10047d643
// > SecretLayer5::claimOnlineReward @ 0x10047d883
// > SecretLayer5::unlockUI @ 0x10047d92a
// > SecretLayer5::hideTextInput @ 0x10047db8c
// > FLAlertLayer::show @ 0x10049c62a
// > SecretLayer3::init @ 0x1004a3e79
// > SecretLayer3::init @ 0x1004a3e9e
// > SecretLayer3::dialogClosed @ 0x1004a81a4
// > SecretLayer3::dialogClosed @ 0x1004a8214
// > LoadingCircle::show @ 0x1004bf397
// > LoadingCircle::show @ 0x1004bf403
// > LoadingCircle::fadeAndRemove @ 0x1004bf452
// > LoadingCircle::fadeAndRemove @ 0x1004bf4a7
// > LoadingCircleSprite::fadeInCircle @ 0x1004bf713
// > EndLevelLayer::customSetup @ 0x1004c134f
// > EndLevelLayer::onHideLayer @ 0x1004c2327
// > EndLevelLayer::showLayer @ 0x1004c2483
// > ShardsPage::show @ 0x1004c7933
// > RetryLevelLayer::showLayer @ 0x1004f9283
// > GauntletNode::showUnlockAnimation @ 0x100573909
// > CustomSFXWidget::init @ 0x1005e37d8
// > CustomSFXWidget::hideLoadingArt @ 0x1005e3e63
// > CustomSFXWidget::updateSFXInfo @ 0x1005e417c
// > CustomSFXWidget::showLoadingArt @ 0x1005e48a8
// > CustomSFXWidget::downloadFailed @ 0x1005e4ab3
// > GJDropDownLayer::showLayer @ 0x1005e86e7
// > GJDropDownLayer::hideLayer @ 0x1005e87e4
// > GhostTrailEffect::trailSnapshot @ 0x1005f9f10
// > GhostTrailEffect::trailSnapshot @ 0x1005f9f2b
// > GhostTrailEffect::trailSnapshot @ 0x1005f9ffb
// > CustomSongWidget::showError @ 0x10061ec14
// > CustomSongWidget::showError @ 0x10061ec56
// > CharacterColorPage::show @ 0x10065e953
// > InfoLayer::show @ 0x1007b3321
// > ProfilePage::show @ 0x1007bfc76
//
// 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::CCFadeTo *__fastcall cocos2d::CCFadeTo::create(float a1, unsigned __int8 a2)
{
cocos2d::CCFadeTo *v2; // rbx
__m128 v3; // xmm2
__m128 v4; // xmm0
v2 = (cocos2d::CCFadeTo *)operator new(0x60u);
*(_OWORD *)&v2->__vftable = 0;
*(_OWORD *)&v2->cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v2->m_uIndexInArray = 0;
*(_OWORD *)&v2->m_uOrderOfArrival = 0;
*(_OWORD *)&v2->m_pTarget = 0;
*(_OWORD *)&v2->m_fDuration = 0;
cocos2d::CCAction::CCAction(v2);
v2->__vftable = (cocos2d::CCFadeTo_vtbl *)off_10092A760;
v3 = *(__m128 *)&a1;
v4 = _mm_cmpeq_ss((__m128)0LL, *(__m128 *)&a1);
*(_QWORD *)&v2->m_fDuration = _mm_andnot_ps(v4, v3).u32[0] | v4.i32[0] & 0x34000000;
v2->m_bFirstTick = 1;
*(&v2->m_bFirstTick + 1) = a2;
cocos2d::CCObject::autorelease(v2);
return v2;
}