//
// cocos2d::CCLabelBMFont::setOpacityModifyRGB from 0x5cb888 to 0x5cb8ec (100 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCLabelBMFont::setOpacityModifyRGB @ 0x5cb8f8
//
// 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 cocos2d::CCLabelBMFont::setOpacityModifyRGB(cocos2d::CCLabelBMFont *a1, bool a2)
{
cocos2d::CCArray *m_pChildren; // r0
cocos2d::CCArray *v4; // r3
cocos2d::ccArray *data; // r2
const void **arr; // r4
const void **v7; // r5
const void *v8; // r0
const void *v9; // t1
void *v10; // r0
a1->m_bIsOpacityModifyRGB = a2;
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
if ( cocos2d::CCArray::count(m_pChildren) )
{
v4 = a1->m_pChildren;
if ( v4 )
{
data = v4->data;
if ( data->num )
{
arr = (const void **)data->arr;
v7 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v7 )
{
v9 = *arr++;
v8 = v9;
if ( !v9 )
break;
v10 = _dynamic_cast(
v8,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( v10 )
(*(void (__fastcall **)(void *, bool))(*(_DWORD *)v10 + 24))(v10, a1->m_bIsOpacityModifyRGB);
}
}
}
}
}
}