//
// TextArea::stopAllCharacterActions from 0x1000f6c2c to 0x1000f6ce4 (184 bytes)
//
// 3 xrefs:
// > DialogLayer::finishCurrentAnimation @ 0x10008725c
// > TextArea::setString @ 0x1000f6a68
// > TextArea::showAll @ 0x1000f6cf4
//
// 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 __fastcall TextArea::stopAllCharacterActions(TextArea *a1)
{
unsigned int *v2; // x19
__int64 v3; // x20
__int64 i; // x21
__int64 v5; // x0
__int64 v6; // x0
unsigned int *v7; // x9
__int64 v8; // x8
cocos2d::CCNode **v9; // x22
unsigned __int64 v10; // x23
if ( ((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_label->getChildren)(a1->m_label) )
{
v2 = *(unsigned int **)(((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_label->getChildren)(a1->m_label) + 56);
v3 = *v2;
if ( (int)v3 >= 1 )
{
for ( i = 0; i != v3; ++i )
{
v5 = *(_QWORD *)(*((_QWORD *)v2 + 2) + 8 * i);
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 472LL))(v5);
if ( v6 )
{
v7 = *(unsigned int **)(v6 + 56);
v8 = *v7;
if ( (_DWORD)v8 )
{
v9 = *((cocos2d::CCNode ***)v7 + 2);
v10 = (unsigned __int64)&v9[v8 - 1];
do
{
if ( !*v9 )
break;
cocos2d::CCNode::stopAllActions(*v9++);
}
while ( (unsigned __int64)v9 <= v10 );
}
}
}
}
}
}