//
// cocos2d::CCFadeIn::create from 0x10018c914 to 0x10018c98c (120 bytes)
//
// 35 xrefs:
// > CCLightFlash::showFlash @ 0x100031244
// > DialogLayer::fadeInTextFinished @ 0x100087504
// > TextArea::fadeInCharacters @ 0x1000f7158
// > PlayLayer::showHint @ 0x10011f1dc
// > cocos2d::CCFadeOut::reverse @ 0x10018cc78
// > RewardUnlockLayer::init @ 0x1001c518c
// > RewardUnlockLayer::init @ 0x1001c5278
// > RewardUnlockLayer::init @ 0x1001c546c
// > RewardUnlockLayer::playLabelEffect @ 0x1001c7ed4
// > RewardUnlockLayer::playLabelEffect @ 0x1001c7ef8
// > RewardUnlockLayer::playLabelEffect @ 0x1001c7f50
// > RewardUnlockLayer::showCloseButton @ 0x1001c80b0
// > cocos2d::CCTransitionFade::onEnter @ 0x1001ce228
// > GauntletLayer::setupGauntlet @ 0x1002335d0
// > GameObject::playShineEffect @ 0x10025c950
// > AchievementBar::show @ 0x10026b9d8
// > TextAlertPopup::init @ 0x1002e0344
// > EndLevelLayer::playStarEffect @ 0x1002f7b70
// > EndLevelLayer::playStarEffect @ 0x1002f7b94
// > EndLevelLayer::playCoinEffect @ 0x1002f7cdc
// > EndLevelLayer::playCurrencyEffect @ 0x1002f8000
// > EndLevelLayer::playCurrencyEffect @ 0x1002f8024
// > EndLevelLayer::playCurrencyEffect @ 0x1002f8048
// > EndLevelLayer::playDiamondEffect @ 0x1002f832c
// > EndLevelLayer::playDiamondEffect @ 0x1002f8350
// > EndLevelLayer::playDiamondEffect @ 0x1002f8374
// > SecretLayer2::showSecretLevel @ 0x10030c46c
// > SecretNumberLayer::playNumberEffect @ 0x10030cc10
// > SecretLayer3::firstInteractionStep1 @ 0x10030fe4c
// > SecretLayer3::firstInteractionStep3 @ 0x100310240
// > SecretLayer3::revealStep3 @ 0x100310d58
// > LevelAreaLayer::fadeInsideTower @ 0x100345494
// > LevelAreaInnerLayer::init @ 0x10034580c
// > LevelAreaInnerLayer::onDoor @ 0x100346338
// > LevelAreaInnerLayer::dialogClosed @ 0x100346c8c
//
// 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::CCFadeIn *__fastcall cocos2d::CCFadeIn::create(float a1)
{
float *v2; // x19
float v3; // s0
v2 = (float *)operator new(0x60u);
*(_OWORD *)v2 = 0u;
*((_OWORD *)v2 + 1) = 0u;
*((_OWORD *)v2 + 2) = 0u;
*((_OWORD *)v2 + 3) = 0u;
*((_OWORD *)v2 + 4) = 0u;
*((_OWORD *)v2 + 5) = 0u;
cocos2d::CCAction::CCAction();
*(_QWORD *)v2 = &off_1007A5C88;
v3 = 0.00000011921;
if ( a1 != 0.0 )
v3 = a1;
v2[20] = v3;
v2[21] = 0.0;
*((_BYTE *)v2 + 88) = 1;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCFadeIn *)v2;
}