//
// TextArea::colorAllLabels from 0x10030dc20 to 0x10030dc95 (117 bytes)
//
// 3 xrefs:
// > CCTextInputNode::refreshLabel @ 0x100068cf5
// > GJNotificationCell::loadFromNotification @ 0x10023438c
// > DailyRecallUnlockPopup::init @ 0x10098a9e2
//
// This function is hookable on this platform (idp: pc, 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:28:37 +0000
//
__int64 __fastcall TextArea::colorAllLabels(__int64 a1, int a2)
{
__int64 v2; // rax
__int64 v3; // rbx
__int64 result; // rax
unsigned int v5; // r14d
__int64 v6; // rax
__int16 v7; // [rsp+0h] [rbp-1Ch] BYREF
char v8; // [rsp+2h] [rbp-1Ah]
char v9; // [rsp+3h] [rbp-19h]
v9 = HIBYTE(v2);
v7 = a2;
v8 = BYTE2(a2);
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 608) + 648LL);
result = sub_1007FEF90(v3);
if ( (_DWORD)result )
{
v5 = 0;
do
{
v6 = sub_1007FEFE0(v3, v5);
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 1072LL))(v6, &v7);
++v5;
result = sub_1007FEF90(v3);
}
while ( v5 < (unsigned int)result );
}
return result;
}