//
// cocos2d::CCFadeTo::create from 0x10018cc7c to 0x10018ccfc (128 bytes)
//
// 89 xrefs:
// > ChallengesPage::show @ 0x100032bd0
// > PlayerObject::playDeathEffect @ 0x100057abc
// > PlayerObject::playCompleteEffect @ 0x10005cea4
// > SecretLayer5::animateHead @ 0x100075a3c
// > SecretLayer5::animateHead @ 0x100075a64
// > SecretLayer5::animateHead @ 0x100075ad0
// > SecretLayer5::showSuccessAnimation @ 0x100075d28
// > SecretLayer5::showSuccessAnimation @ 0x100075d9c
// > SecretLayer5::showSuccessAnimation @ 0x100075dd0
// > SecretLayer5::showFailAnimation @ 0x1000764b4
// > SecretLayer5::showFailAnimation @ 0x10007651c
// > SecretLayer5::showFailAnimation @ 0x10007654c
// > SecretLayer5::showTextInput @ 0x100076910
// > SecretLayer5::hideTextInput @ 0x100076d7c
// > DialogLayer::animateIn @ 0x100087740
// > CustomSongWidget::showError @ 0x1000fd074
// > CustomSongWidget::showError @ 0x1000fd0ac
// > PlayLayer::showTwoPlayerGuide @ 0x10011846c
// > PlayLayer::showTwoPlayerGuide @ 0x100118488
// > PlayLayer::showNewBest @ 0x10011b7c8
// > PlayLayer::showNewBest @ 0x10011b7e8
// > CharacterColorPage::show @ 0x10012a498
// > SetupTriggerPopup::sliderBegan @ 0x100130adc
// > SetupTriggerPopup::sliderBegan @ 0x100130b14
// > SetupTriggerPopup::sliderEnded @ 0x100130ba0
// > SetupTriggerPopup::sliderEnded @ 0x100130bd8
// > CustomSongLayer::show @ 0x100144ddc
// > SupportLayer::customSetup @ 0x100191ddc
// > ProfilePage::show @ 0x10019c30c
// > CommunityCreditsPage::show @ 0x1001a2a1c
// > TopArtistsLayer::show @ 0x1001a56d8
// > RetryLevelLayer::showLayer @ 0x1001b3bcc
// > DailyLevelPage::show @ 0x1001baa14
// > GauntletNode::showUnlockAnimation @ 0x1001c0608
// > RewardsPage::show @ 0x1001c4dd4
// > RewardUnlockLayer::init @ 0x1001c529c
// > RewardUnlockLayer::init @ 0x1001c5634
// > GJChestSprite::switchToState @ 0x1001c70dc
// > GJChestSprite::switchToState @ 0x1001c70f4
// > PlayerObject::stopDashing @ 0x10021cd9c
// > PlayerObject::stopDashing @ 0x10021cdb4
// > PlayerObject::createFadeOutDartStreak @ 0x100228ff0
// > GauntletLayer::unlockActiveItem @ 0x100233d50
// > LevelLeaderboard::show @ 0x1002511a0
// > FLAlertLayer::show @ 0x1002acea4
// > TextAlertPopup::init @ 0x1002e04a0
// > TextAlertPopup::init @ 0x1002e04bc
// > GJPromoPopup::show @ 0x1002e5664
// > CustomSFXWidget::hideLoadingArt @ 0x1002f0cac
// > CustomSFXWidget::showLoadingArt @ 0x1002f1580
// > GhostTrailEffect::trailSnapshot @ 0x1002f54d4
// > GhostTrailEffect::trailSnapshot @ 0x1002f54e8
// > GhostTrailEffect::trailSnapshot @ 0x1002f5584
// > EndLevelLayer::customSetup @ 0x1002f6868
// > EndLevelLayer::onHideLayer @ 0x1002f76e8
// > EndLevelLayer::showLayer @ 0x1002f77c0
// > SecretLayer3::init @ 0x10030e2ac
// > SecretLayer3::init @ 0x10030e2cc
// > SecretLayer3::dialogClosed @ 0x1003116a8
// > LevelAreaLayer::init @ 0x100343e84
// > LevelAreaLayer::init @ 0x100343e9c
// > LevelAreaLayer::onClickDoor @ 0x1003447ec
// > LevelAreaLayer::addGodRay @ 0x1003449d0
// > LevelAreaLayer::addGodRay @ 0x1003449e8
// > LevelAreaLayer::addGodRay @ 0x100344b0c
// > LevelAreaLayer::addGodRay @ 0x100344b28
// > LevelAreaLayer::addTorch @ 0x100344ee0
// > LevelAreaLayer::addTorch @ 0x100344f00
// > LevelAreaInnerLayer::init @ 0x100345e74
// > LevelAreaInnerLayer::init @ 0x10034605c
// > GameObject::playPickupAnimation @ 0x1003493d4
// > GameObject::playDestroyObjectAnim @ 0x100349a44
// > GameObject::playDestroyObjectAnim @ 0x100349bc4
// > GameObject::playDestroyObjectAnim @ 0x10034a34c
// > InfoLayer::show @ 0x100353428
// > LoadingCircle::show @ 0x10039a0d8
// > LoadingCircle::show @ 0x10039a138
// > LoadingCircle::fadeAndRemove @ 0x10039a19c
// > LoadingCircle::fadeAndRemove @ 0x10039a1ec
// > LoadingCircleSprite::fadeInCircle @ 0x10039a3f4
// > ShardsPage::show @ 0x1003a3520
// > GJDropDownLayer::showLayer @ 0x1003b27ac
// > GJDropDownLayer::hideLayer @ 0x1003b28b0
// > GJPathsLayer::show @ 0x1003b8968
// > GJPathPage::playUnlockAnimation @ 0x1003ba434
// > GJPathPage::unlockAnimationStep3 @ 0x1003bb07c
// > GJPathPage::show @ 0x1003bb5e4
// > GJPathRewardPopup::onClaim @ 0x1003bbcc4
// > FollowRewardPage::show @ 0x100425f44
//
// 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
//
cocos2d::CCFadeTo *__fastcall cocos2d::CCFadeTo::create(float a1, unsigned __int8 a2)
{
float *v4; // x19
float v5; // s0
v4 = (float *)operator new(0x60u);
*(_OWORD *)v4 = 0u;
*((_OWORD *)v4 + 1) = 0u;
*((_OWORD *)v4 + 2) = 0u;
*((_OWORD *)v4 + 3) = 0u;
*((_OWORD *)v4 + 4) = 0u;
*((_OWORD *)v4 + 5) = 0u;
cocos2d::CCAction::CCAction();
*(_QWORD *)v4 = &off_1007A5DC8;
v5 = 0.00000011921;
if ( a1 != 0.0 )
v5 = a1;
v4[20] = v5;
v4[21] = 0.0;
*((_BYTE *)v4 + 88) = 1;
*((_BYTE *)v4 + 89) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return (cocos2d::CCFadeTo *)v4;
}