//
// cocos2d::CCAtlasNode::setOpacityModifyRGB from 0x10032b0f0 to 0x10032b137 (71 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008e1100
// > ??> @ 0x100914e40
// > ??> @ 0x10098e530
//
// 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::CCAtlasNode::setOpacityModifyRGB(cocos2d::CCAtlasNode *a1, bool a2)
{
__int64 v2; // rax
__int16 v3; // [rsp+Ch] [rbp-14h] BYREF
char v4; // [rsp+Eh] [rbp-12h]
v2 = ((__int64 (__fastcall *)(cocos2d::CCAtlasNode *))a1->getColor)(a1);
v4 = *(_BYTE *)(v2 + 2);
v3 = *(_WORD *)v2;
a1->m_bIsOpacityModifyRGB = a2;
((void (__fastcall *)(cocos2d::CCAtlasNode *, __int16 *))a1->setColor)(a1, &v3);
}