//
// TextArea::fadeOut from 0x2f46fc to 0x2f473a (62 bytes)
//
// 1 xrefs:
// > TextArea::fadeOutAndRemove @ 0x2f4748
//
// 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
//
void TextArea::fadeOut(TextArea *a1, float a2)
{
unsigned int v4; // r0
cocos2d::CCAction *v5; // r1
float v6; // [sp+0h] [bp-4h]
cocos2d::CCNode::stopAllActions(a1);
TextArea::stopAllCharacterActions(a1);
v4 = ((int (__fastcall *)(TextArea *))a1->getOpacity)(a1);
v5 = (cocos2d::CCAction *)cocos2d::CCActionTween::create(
(cocos2d::CCActionTween *)LODWORD(a2),
COERCE_FLOAT("opacity"),
COERCE_CONST_CHAR_((float)v4),
0.0,
v6);
cocos2d::CCNode::runAction(a1, v5);
}