//
// TextArea::colorAllLabels from 0x3d98aa to 0x3d98e0 (54 bytes)
//
// 3 xrefs:
// > CCTextInputNode::refreshLabel @ 0x3e1ab0
// > GJNotificationCell::loadFromNotification @ 0x43203e
// > DailyRecallUnlockPopup::init @ 0x742c7a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:46 +0000
//
unsigned int __fastcall TextArea::colorAllLabels(int a1, int a2)
{
unsigned int v2; // r4
cocos2d::CCArray *v3; // r6
unsigned int result; // r0
int v5; // r0
int v6; // [sp+4h] [bp-4h] BYREF
v2 = 0;
v6 = a2;
v3 = *(cocos2d::CCArray **)(*(_DWORD *)(a1 + 520) + 536);
while ( 1 )
{
result = cocos2d::CCArray::count(v3);
if ( v2 >= result )
break;
v5 = cocos2d::CCArray::objectAtIndex(v3, v2++);
(*(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 536))(v5, &v6);
}
return result;
}