//
// TextArea::stopAllCharacterActions from 0x14008a770 to 0x14008a82e (190 bytes)
//
// 6 xrefs:
// > TextArea::setString @ 0x14008a15a
// > DialogLayer::handleDialogTap @ 0x1401755a5
// > DialogLayer::handleDialogTap @ 0x1401755b4
// > ??> @ 0x14088bff8
// > ??> @ 0x14088c030
// > ??> @ 0x1409126f8
//
// 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 11:25:58 +0000
//
void __fastcall TextArea::stopAllCharacterActions(__int64 a1)
{
int *v2; // r14
__int64 v3; // rbp
__int64 i; // rsi
__int64 v5; // rcx
__int64 v6; // rax
unsigned int *v7; // rbx
__int64 v8; // rax
cocos2d::CCNode **v9; // rbx
cocos2d::CCNode **j; // rdi
if ( (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 616) + 480LL))(*(_QWORD *)(a1 + 616)) )
{
v2 = *(int **)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 616) + 480LL))(*(_QWORD *)(a1 + 616)) + 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 + 480LL))(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);
}
}
}
}
}
}
}