//
// TextArea::colorAllCharactersTo from 0x100322520 to 0x1003225cd (173 bytes)
//
// 12 xrefs:
// > AccountLayer::updatePage @ 0x1000ccafd
// > AccountLayer::updatePage @ 0x1000ccb73
// > AccountLayer::backupAccountFinished @ 0x1000cd366
// > AccountLayer::backupAccountFailed @ 0x1000cd7b0
// > AccountLayer::syncAccountFinished @ 0x1000cd8f9
// > AccountLayer::syncAccountFailed @ 0x1000cdbcf
// > AccountHelpLayer::updatePage @ 0x1000cead6
// > AccountHelpLayer::updatePage @ 0x1000ceb4c
// > CommentCell::loadFromComment @ 0x100248957
// > CommentCell::loadFromComment @ 0x100248982
// > GJWriteMessagePopup::updateText @ 0x1002aa8b8
// > GJWriteMessagePopup::updateText @ 0x1002aa8f3
//
// 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::colorAllCharactersTo(TextArea *a1, cocos2d::ccColor3B a2)
{
__int64 i; // r12
__int64 v3; // rdi
int *v4; // r13
__int64 v5; // r14
__int64 j; // r15
__int64 v7; // rdi
int *v8; // [rsp+0h] [rbp-40h]
__int64 v9; // [rsp+8h] [rbp-38h]
cocos2d::ccColor3B v10; // [rsp+14h] [rbp-2Ch] BYREF
v10 = a2;
v8 = *(int **)(((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_label->getChildren)(a1->m_label) + 56);
v9 = *v8;
if ( v9 > 0 )
{
for ( i = 0; i != v9; ++i )
{
v3 = *(_QWORD *)(*((_QWORD *)v8 + 2) + 8 * i);
v4 = *(int **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 472LL))(v3) + 56);
v5 = *v4;
if ( v5 > 0 )
{
for ( j = 0; j != v5; ++j )
{
v7 = *(_QWORD *)(*((_QWORD *)v4 + 2) + 8 * j);
(*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v7 + 944LL))(v7, &v10);
}
}
}
}
}