//
// TextArea::fadeIn from 0x10030d840 to 0x10030d96e (302 bytes)
//
// 0 xrefs:
//
// 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:28:37 +0000
//
float __fastcall TextArea::fadeIn(__int64 a1, float result)
{
int *v2; // r14
__int64 v3; // r15
__int64 i; // r12
__int64 v5; // rdi
__int64 v6; // rax
unsigned int *v7; // rax
__int64 *v8; // r13
__int64 *v9; // rbx
int v10; // r14d
int v11; // r15d
int v12; // eax
int v13; // r8d
int v14; // r9d
__int64 v15; // rax
cocos2d::CCNode::stopAllActions(a1);
if ( (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 608) + 488LL))(*(_QWORD *)(a1 + 608)) )
{
v2 = *(int **)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 608) + 488LL))(*(_QWORD *)(a1 + 608)) + 56);
v3 = *v2;
if ( v3 > 0 )
{
for ( i = 0; i != v3; ++i )
{
v5 = *(_QWORD *)(*((_QWORD *)v2 + 2) + 8 * i);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 488LL))(v5);
if ( v6 )
{
v7 = *(unsigned int **)(v6 + 56);
if ( *v7 )
{
v8 = *((__int64 **)v7 + 2);
v9 = &v8[*v7 - 1];
do
{
if ( !*v8 )
break;
cocos2d::CCNode::stopAllActions(*v8++);
}
while ( v8 <= v9 );
}
}
}
}
}
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 912LL))(a1, 0);
*(_BYTE *)(a1 + 664) = 0;
v10 = cocos2d::CCFadeIn::create(result);
v11 = cocos2d::CCDelayTime::create(result);
v12 = cocos2d::CCCallFunc::create(a1, TextArea::finishFade, 0);
v15 = sub_10039EB60(v10, v11, v12, 0, v13, v14);
cocos2d::CCNode::runAction(a1, v15);
return result;
}