//
// TextArea::stopAllCharacterActions from 0x6b23b8 to 0x6b2494 (220 bytes)
//
// 6 xrefs:
// > TextArea::hideAll @ 0x6b24a4
// > TextArea::showAll @ 0x6b24d8
// > TextArea::fadeIn @ 0x6b2528
// > TextArea::fadeOut @ 0x6b25c4
// > DialogLayer::finishCurrentAnimation @ 0xa705c0
// > ??> @ 0x91c00
//
// 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 12:50:51 +0000
//
__int64 __fastcall TextArea::stopAllCharacterActions(TextArea *this)
{
__int64 result; // x0
unsigned int *v3; // x23
__int64 v4; // x20
__int64 v5; // x22
__int64 *v6; // x19
__int64 *i; // x21
result = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 488LL))(*((_QWORD *)this + 76));
if ( result )
{
v3 = *(unsigned int **)((*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 76) + 488LL))(*((_QWORD *)this + 76))
+ 56);
result = *v3;
if ( (int)result > 0 )
{
v4 = 0;
v5 = 8 * ((unsigned int)(result - 1) + 1LL);
do
{
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)v3 + 2) + v4) + 488LL))(*(_QWORD *)(*((_QWORD *)v3 + 2) + v4));
if ( result )
{
result = *(_QWORD *)(result + 56);
if ( *(_DWORD *)result )
{
v6 = *(__int64 **)(result + 16);
for ( i = &v6[*(unsigned int *)result - 1];
i >= v6;
result = cocos2d::CCNode::stopAllActions((cocos2d::CCNode *)result) )
{
result = *v6;
if ( !*v6 )
break;
++v6;
}
}
}
v4 += 8;
}
while ( v4 != v5 );
}
}
return result;
}