//
// TextArea::stopAllCharacterActions from 0x591e40 to 0x591f1c (220 bytes)
//
// 6 xrefs:
// > TextArea::hideAll @ 0x591f2c
// > TextArea::showAll @ 0x592670
// > TextArea::fadeIn @ 0x5926c0
// > TextArea::fadeOut @ 0x59275c
// > DialogLayer::finishCurrentAnimation @ 0x917288
// > ??> @ 0x6bdf0
//
// 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::stopAllCharacterActions(TextArea *a1)
{
cocos2d::ccArray *data; // x23
unsigned __int64 v3; // x20
__int64 v4; // x22
__int64 v5; // x0
unsigned int *v6; // x0
cocos2d::CCNode **v7; // x19
cocos2d::CCNode **v8; // x21
cocos2d::CCNode *v9; // x0
if ( a1->m_label->getChildren(a1->m_label) )
{
data = a1->m_label->getChildren(a1->m_label)->data;
if ( (int)data->num > 0 )
{
v3 = 0;
v4 = 8 * (data->num - 1 + 1LL);
do
{
v5 = ((__int64 (__fastcall *)(cocos2d::CCObject *))data->arr[v3 / 8]->__vftable[5].setTag)(data->arr[v3 / 8]);
if ( v5 )
{
v6 = *(unsigned int **)(v5 + 56);
if ( *v6 )
{
v7 = *((cocos2d::CCNode ***)v6 + 2);
v8 = &v7[*v6 - 1];
while ( v8 >= v7 )
{
v9 = *v7;
if ( !*v7 )
break;
++v7;
cocos2d::CCNode::stopAllActions(v9);
}
}
}
v3 += 8LL;
}
while ( v3 != v4 );
}
}
}