//
// cocos2d::CCLabelBMFont::setOpacityModifyRGB from 0x7d2c14 to 0x7d2c78 (100 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCLabelBMFont::setOpacityModifyRGB @ 0x7d2c84
//
// 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 12:00:36 +0000
//
cocos2d::CCArray *__fastcall cocos2d::CCLabelBMFont::setOpacityModifyRGB(cocos2d::CCLabelBMFont *this, bool a2)
{
cocos2d::CCArray *result; // r0
int v4; // r3
_DWORD *v5; // r2
cocos2d::CCArray **v6; // r4
cocos2d::CCArray **v7; // r5
cocos2d::CCArray *v8; // t1
*((_BYTE *)this + 366) = a2;
result = *((cocos2d::CCArray **)this + 48);
if ( result )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
if ( result )
{
v4 = *((_DWORD *)this + 48);
if ( v4 )
{
v5 = *(_DWORD **)(v4 + 52);
if ( *v5 )
{
v6 = (cocos2d::CCArray **)v5[3];
v7 = &v6[*v5] + 0x3FFFFFFF;
while ( v6 <= v7 )
{
v8 = *v6++;
result = v8;
if ( !v8 )
break;
result = (cocos2d::CCArray *)_dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol,
-2);
if ( result )
result = (cocos2d::CCArray *)(*(int (__fastcall **)(cocos2d::CCArray *, _DWORD))(*(_DWORD *)result + 24))(
result,
*((unsigned __int8 *)this + 366));
}
}
}
}
}
return result;
}