//
// TextArea::stopAllCharacterActions from 0x140077510 to 0x1400775ce (190 bytes)
//
// 6 xrefs:
// > TextArea::setString @ 0x140077182
// > DialogLayer::handleDialogTap @ 0x1400d3f09
// > DialogLayer::handleDialogTap @ 0x1400d3f18
// > ??> @ 0x1406675c8
// > ??> @ 0x140667600
// > ??> @ 0x1406c6504
//
// 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; // r14
__int64 num; // rbp
__int64 i; // rsi
cocos2d::CCObject *v5; // rcx
__int64 v6; // rax
unsigned int *v7; // rbx
__int64 v8; // rax
cocos2d::CCNode **v9; // rbx
cocos2d::CCNode **j; // rdi
if ( a1->m_label->getChildren(a1->m_label) )
{
data = a1->m_label->getChildren(a1->m_label)->data;
num = (int)data->num;
if ( num > 0 )
{
for ( i = 0; i < num; ++i )
{
v5 = data->arr[i];
v6 = ((__int64 (__fastcall *)(cocos2d::CCObject *))v5->__vftable[6].update)(v5);
if ( v6 )
{
v7 = *(unsigned int **)(v6 + 56);
v8 = *v7;
if ( (_DWORD)v8 )
{
v9 = *((cocos2d::CCNode ***)v7 + 2);
for ( j = &v9[v8 - 1]; v9 <= j; ++v9 )
{
if ( !*v9 )
break;
cocos2d::CCNode::stopAllActions(*v9);
}
}
}
}
}
}
}