//
// cocos2d::CCTintTo::create from 0x10018cedc to 0x10018cf74 (152 bytes)
//
// 29 xrefs:
// > PlayerObject::playDeathEffect @ 0x100059154
// > PlayerObject::playDeathEffect @ 0x100059170
// > SecretLayer5::animateHead @ 0x100075b14
// > SecretLayer5::animateHead @ 0x100075b44
// > SecretLayer5::animateHead @ 0x100075b80
// > SecretLayer5::animateHead @ 0x100075ba4
// > SecretLayer5::showSuccessAnimation @ 0x1000760b0
// > SecretLayer5::showSuccessAnimation @ 0x1000760e0
// > SecretLayer5::showSuccessAnimation @ 0x100076270
// > SecretLayer5::showSuccessAnimation @ 0x1000762e4
// > SecretLayer5::showSuccessAnimation @ 0x100076304
// > SecretLayer5::showFailAnimation @ 0x100076840
// > CreateGuidelinesLayer::init @ 0x10007c680
// > CreateGuidelinesLayer::init @ 0x10007c698
// > RewardsPage::onReward @ 0x1001c4670
// > PlayerObject::startDashing @ 0x100226828
// > PlayerObject::startDashing @ 0x1002268b8
// > GauntletLayer::setupGauntlet @ 0x100233620
// > CurrencyRewardLayer::init @ 0x10031ecb8
// > CurrencyRewardLayer::init @ 0x10031ecd0
// > CurrencyRewardLayer::init @ 0x10031f0a0
// > CurrencyRewardLayer::init @ 0x10031f0b8
// > CurrencyRewardLayer::init @ 0x10031f48c
// > CurrencyRewardLayer::init @ 0x10031f4a4
// > GameObject::playDestroyObjectAnim @ 0x100349a04
// > GameObject::playDestroyObjectAnim @ 0x100349a28
// > MenuGameLayer::updateColor @ 0x10039ad00
// > MenuGameLayer::updateColor @ 0x10039ad58
// > MenuGameLayer::updateColor @ 0x10039ad8c
//
// 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::CCTintTo *__fastcall cocos2d::CCTintTo::create(
float a1,
unsigned __int8 a2,
unsigned __int8 a3,
unsigned __int8 a4)
{
__int16 v5; // w21
__int16 v6; // w22
char *v8; // x19
float v9; // s0
v5 = a3;
v6 = a2;
v8 = (char *)operator new(0x60u);
*(_OWORD *)v8 = 0u;
*((_OWORD *)v8 + 1) = 0u;
*((_OWORD *)v8 + 2) = 0u;
*((_OWORD *)v8 + 3) = 0u;
*((_OWORD *)v8 + 4) = 0u;
*((_OWORD *)v8 + 5) = 0u;
cocos2d::CCAction::CCAction();
*(_QWORD *)v8 = &off_1007A5E68;
v9 = 0.00000011921;
if ( a1 != 0.0 )
v9 = a1;
*((float *)v8 + 20) = v9;
*((_DWORD *)v8 + 21) = 0;
v8[88] = 1;
v8[91] = a4;
*(_WORD *)(v8 + 89) = v6 | (v5 << 8);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return (cocos2d::CCTintTo *)v8;
}