//
// TextArea::stopAllCharacterActions from 0x10011b6c0 to 0x10011b778 (184 bytes)
//
// 3 xrefs:
// > DialogLayer::finishCurrentAnimation @ 0x1000906c4
// > TextArea::setString @ 0x10011b208
// > TextArea::showAll @ 0x10011b788
//
// This function is hookable on this platform (idp: arm, 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 10:59:13 +0000
//
__int64 __fastcall TextArea::stopAllCharacterActions(__int64 a1)
{
__int64 result; // x0
unsigned int *v3; // x19
__int64 v4; // x20
__int64 i; // x21
__int64 v6; // x0
unsigned int *v7; // x9
__int64 v8; // x8
__int64 *v9; // x22
unsigned __int64 v10; // x23
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 608) + 488LL))(*(_QWORD *)(a1 + 608));
if ( result )
{
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 608) + 488LL))(*(_QWORD *)(a1 + 608));
v3 = *(unsigned int **)(result + 56);
v4 = *v3;
if ( (int)v4 >= 1 )
{
for ( i = 0; i != v4; ++i )
{
v6 = *(_QWORD *)(*((_QWORD *)v3 + 2) + 8 * i);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 488LL))(v6);
if ( result )
{
v7 = *(unsigned int **)(result + 56);
v8 = *v7;
if ( (_DWORD)v8 )
{
v9 = *((__int64 **)v7 + 2);
v10 = (unsigned __int64)&v9[v8 - 1];
do
{
result = *v9;
if ( !*v9 )
break;
result = cocos2d::CCNode::stopAllActions(result);
++v9;
}
while ( (unsigned __int64)v9 <= v10 );
}
}
}
}
}
return result;
}