//
// TextArea::colorAllCharactersTo from 0x2f478c to 0x2f47ea (94 bytes)
//
// 9 xrefs:
// > CommentCell::loadFromComment @ 0x336ffa
// > AccountLayer::updatePage @ 0x4669a6
// > AccountLayer::backupAccountFinished @ 0x46723a
// > AccountLayer::backupAccountFailed @ 0x4673d8
// > AccountLayer::syncAccountFinished @ 0x46748a
// > AccountLayer::syncAccountFailed @ 0x467598
// > AccountHelpLayer::updatePage @ 0x4677be
// > GJWriteMessagePopup::updateText @ 0x4ae7b0
// > GJWriteMessagePopup::updateText @ 0x4ae814
//
// 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::colorAllCharactersTo(TextArea *a1, cocos2d::ccColor3B a2)
{
signed int v2; // r4
cocos2d::ccArray *data; // r7
signed int num; // r9
int v5; // r5
cocos2d::CCObject *v6; // r0
int *v7; // r8
int v8; // r10
int v9; // r0
int v10; // [sp+4h] [bp-4h] BYREF
v2 = 0;
v10 = *(_DWORD *)&a2.r;
data = a1->m_label->getChildren(a1->m_label)->data;
num = data->num;
while ( v2 < num )
{
v5 = 0;
v6 = data->arr[v2];
v7 = *(int **)(((int (__fastcall *)(cocos2d::CCObject *))v6->__vftable[5].setTag)(v6) + 52);
v8 = *v7;
while ( v5 < v8 )
{
v9 = *(_DWORD *)(v7[3] + 4 * v5++);
(*(void (__fastcall **)(int, int *))(*(_DWORD *)v9 + 472))(v9, &v10);
}
++v2;
}
}