//
// TextArea::hideAll from 0x100321f80 to 0x100322049 (201 bytes)
//
// 0 xrefs:
//
// 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 __fastcall TextArea::hideAll(TextArea *a1)
{
int *v1; // r14
__int64 v2; // r15
__int64 i; // r12
__int64 v4; // rdi
__int64 v5; // rax
unsigned int *v6; // rax
cocos2d::CCNode **v7; // r13
cocos2d::CCNode **v8; // rbx
if ( ((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_label->getChildren)(a1->m_label) )
{
v1 = *(int **)(((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_label->getChildren)(a1->m_label) + 56);
v2 = *v1;
if ( v2 > 0 )
{
for ( i = 0; i != v2; ++i )
{
v4 = *(_QWORD *)(*((_QWORD *)v1 + 2) + 8 * i);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 472LL))(v4);
if ( v5 )
{
v6 = *(unsigned int **)(v5 + 56);
if ( *v6 )
{
v7 = *((cocos2d::CCNode ***)v6 + 2);
v8 = &v7[*v6 - 1];
do
{
if ( !*v7 )
break;
cocos2d::CCNode::stopAllActions(*v7++);
}
while ( v7 <= v8 );
}
}
}
}
}
((void (__fastcall *)(TextArea *, _QWORD))a1->setOpacity)(a1, 0);
}