//
// cocos2d::CCAtlasNode::setOpacityModifyRGB from 0x5bc430 to 0x5bc474 (68 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCAtlasNode::setOpacityModifyRGB @ 0x5bc47c
//
// 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::CCAtlasNode::setOpacityModifyRGB(cocos2d::CCAtlasNode *a1, bool a2)
{
const cocos2d::ccColor3B *v4; // r0
GLubyte b; // r2
__int16 v6; // r3
cocos2d::CCAtlasNode_vtbl *v7; // r2
_DWORD v8[2]; // [sp+0h] [bp-8h] BYREF
v8[0] = a1;
v8[1] = a2;
v4 = a1->getColor(a1);
b = v4->b;
v6 = *(_WORD *)&v4->r;
a1->m_bIsOpacityModifyRGB = a2;
BYTE2(v8[0]) = b;
v7 = a1->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
LOWORD(v8[0]) = v6;
v7->setColor(a1, (const cocos2d::ccColor3B *)v8);
}