//
// cocos2d::CCTintTo::create from 0x1003a4840 to 0x1003a48f7 (183 bytes)
//
// 48 xrefs:
// > PlayerObject::playDeathEffect @ 0x1001f1997
// > PlayerObject::playDeathEffect @ 0x1001f19c4
// > RewardsPage::onReward @ 0x1001fe6c5
// > GameObject::playDestroyObjectAnim @ 0x100248931
// > GameObject::playDestroyObjectAnim @ 0x100248952
// > GJMapObject::touchMonster @ 0x100251aeb
// > GJMapObject::touchMonster @ 0x100251b01
// > GauntletLayer::setupGauntlet @ 0x10037ef2f
// > GJWorldNode::addDotsToLevel @ 0x1003add8e
// > PlayerObject::startDashing @ 0x1003fee19
// > PlayerObject::startDashing @ 0x1003fef22
// > SecretLayer5::animateHead @ 0x100470ec4
// > SecretLayer5::animateHead @ 0x100470f03
// > SecretLayer5::animateHead @ 0x100470f53
// > SecretLayer5::animateHead @ 0x100470f82
// > SecretLayer5::showSuccessAnimation @ 0x10047157d
// > SecretLayer5::showSuccessAnimation @ 0x1004715bc
// > SecretLayer5::showSuccessAnimation @ 0x1004717ed
// > SecretLayer5::showSuccessAnimation @ 0x10047188d
// > SecretLayer5::showSuccessAnimation @ 0x1004718b9
// > SecretLayer5::showFailAnimation @ 0x100471eda
// > SecretGame01Layer::gameStep01 @ 0x100474a1d
// > SecretGame01Layer::gameStep01 @ 0x100474a4c
// > SecretGame01Layer::gameStep01 @ 0x100474a94
// > SecretGame01Layer::gameStep01 @ 0x100474ac3
// > SecretGame01Layer::gameStep02 @ 0x100474c19
// > SecretGame01Layer::gameStep02 @ 0x100474c40
// > SecretGame01Layer::scaleOutGame @ 0x100474e74
// > SecretGame01Layer::scaleOutGame @ 0x100474eca
// > SecretGame01Layer::scaleOutGame @ 0x100474fea
// > SecretGame01Layer::scaleOutGame @ 0x10047505f
// > SecretGame01Layer::didSelectCorrectObject @ 0x1004751e7
// > SecretGame01Layer::didSelectCorrectObject @ 0x100475264
// > MenuGameLayer::updateColor @ 0x1004f90ec
// > MenuGameLayer::updateColor @ 0x1004f9177
// > MenuGameLayer::updateColor @ 0x1004f91bc
// > CreateGuidelinesLayer::init @ 0x10050ccfb
// > CreateGuidelinesLayer::init @ 0x10050cd17
// > CurrencyRewardLayer::init @ 0x1008895a5
// > CurrencyRewardLayer::init @ 0x1008895c4
// > CurrencyRewardLayer::init @ 0x1008899b6
// > CurrencyRewardLayer::init @ 0x1008899d2
// > CurrencyRewardLayer::init @ 0x100889dc7
// > CurrencyRewardLayer::init @ 0x100889de3
// > DeathMarkerLayer::init @ 0x1008be5f8
// > DeathMarkerLayer::init @ 0x1008be616
// > DeathMarkerLayer::init @ 0x1008be630
// > DeathMarkerLayer::init @ 0x1008be64e
//
// 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
//
char *__fastcall cocos2d::CCTintTo::create(unsigned __int8 a1, unsigned __int8 a2, char a3, __m128 a4)
{
char *v5; // rbx
__m128 v7; // xmm0
v5 = (char *)operator new(0x60u);
*(_OWORD *)v5 = 0;
*((_OWORD *)v5 + 1) = 0;
*((_OWORD *)v5 + 2) = 0;
*((_OWORD *)v5 + 3) = 0;
*((_OWORD *)v5 + 4) = 0;
*((_OWORD *)v5 + 5) = 0;
cocos2d::CCAction::CCAction(v5);
*(_QWORD *)v5 = off_100B32FB8;
v7 = _mm_cmpeq_ss((__m128)0LL, a4);
*((_QWORD *)v5 + 10) = _mm_andnot_ps(v7, a4).u32[0] | v7.i32[0] & 0x34000000;
v5[88] = 1;
v5[91] = a3;
*(_WORD *)(v5 + 89) = (a2 << 8) | a1;
cocos2d::CCObject::autorelease(v5);
return v5;
}