//
// fadeSprite from 0x67709e to 0x6770ec (78 bytes)
//
// 6 xrefs:
// > SetupTriggerPopup::sliderBegan @ 0x677108
// > SetupTriggerPopup::sliderBegan @ 0x67711e
// > SetupTriggerPopup::sliderBegan @ 0x67712c
// > SetupTriggerPopup::sliderEnded @ 0x67715c
// > SetupTriggerPopup::sliderEnded @ 0x677172
// > SetupTriggerPopup::sliderEnded @ 0x677180
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:56 +0000
//
cocos2d::CCNode *__fastcall fadeSprite(cocos2d::CCNode *result, float a2, cocos2d::CCFadeTo *a3)
{
cocos2d::CCNode *v4; // r5
unsigned __int8 v6; // r2
cocos2d::CCAction *v7; // r4
v4 = result;
if ( result )
{
cocos2d::CCNode::stopActionByTag(result, 2);
v7 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create(a3, COERCE_FLOAT((unsigned __int8)(unsigned int)a2), v6);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v7 + 36))(v7, 2);
return (cocos2d::CCNode *)cocos2d::CCNode::runAction(v4, v7);
}
return result;
}