//
// cocos2d::CCLabelBMFont::updateDisplayedColor from 0x1005d9fb0 to 0x1005da088 (216 bytes)
//
// 2 xrefs:
// > ??> @ 0x10095e000
// > ??> @ 0x1009744e8
//
// 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 cocos2d::CCLabelBMFont::updateDisplayedColor(cocos2d::CCLabelBMFont *a1, const cocos2d::ccColor3B *a2)
{
cocos2d::CCArray *m_pChildren; // rax
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // r14
unsigned __int64 v5; // r15
a1->m_tDisplayedColor.r = (int)((double)(a1->m_tRealColor.r * a2->r) / 255.0);
a1->m_tDisplayedColor.g = (int)((double)(a1->m_tRealColor.g * a2->g) / 255.0);
a1->m_tDisplayedColor.b = (int)((double)(a1->m_tRealColor.b * a2->b) / 255.0);
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
if ( data->num )
{
arr = data->arr;
v5 = (unsigned __int64)&arr[data->num - 1];
do
{
if ( !*arr )
break;
((void (__fastcall *)(cocos2d::CCObject *, cocos2d::ccColor3B *))(*arr)->__vftable[11].setTag)(
*arr,
&a1->m_tDisplayedColor);
++arr;
}
while ( (unsigned __int64)arr <= v5 );
}
}
}