//
// TextArea::stopAllCharacterActions from 0x2f426c to 0x2f42d2 (102 bytes)
//
// 5 xrefs:
// > TextArea::hideAll @ 0x2f42d6
// > TextArea::showAll @ 0x2f4678
// > TextArea::fadeIn @ 0x2f46a0
// > TextArea::fadeOut @ 0x2f4708
// > DialogLayer::finishCurrentAnimation @ 0x4d6558
//
// 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)
{
signed int v2; // r6
cocos2d::ccArray *data; // r7
signed int num; // r8
cocos2d::CCObject *v5; // r0
int v6; // r0
_DWORD *v7; // r2
cocos2d::CCNode **v8; // r5
cocos2d::CCNode **v9; // r4
cocos2d::CCNode *v10; // r0
cocos2d::CCNode *v11; // t1
if ( a1->m_label->getChildren(a1->m_label) )
{
v2 = 0;
data = a1->m_label->getChildren(a1->m_label)->data;
num = data->num;
while ( v2 < num )
{
v5 = data->arr[v2];
v6 = ((int (__fastcall *)(cocos2d::CCObject *))v5->__vftable[5].setTag)(v5);
if ( v6 )
{
v7 = *(_DWORD **)(v6 + 52);
if ( *v7 )
{
v8 = (cocos2d::CCNode **)v7[3];
v9 = &v8[*v7] + 0x3FFFFFFF;
while ( v8 <= v9 )
{
v11 = *v8++;
v10 = v11;
if ( !v11 )
break;
cocos2d::CCNode::stopAllActions(v10);
}
}
}
++v2;
}
}
}