//
// cocos2d::CCAtlasNode::setOpacityModifyRGB from 0xd3bdb0 to 0xd3be34 (132 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'cocos2d::CCAtlasNode::setOpacityModifyRGB @ 0xd3be38
// > ??> @ 0xf0a60
// > ??> @ 0x15158e0
// > ??> @ 0x1517600
// > ??> @ 0x1531830
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:26 +0000
//
__int64 __fastcall cocos2d::CCAtlasNode::setOpacityModifyRGB(cocos2d::CCAtlasNode *this, char a2)
{
__int64 v4; // x0
__int64 v5; // x3
char v6; // w2
__int16 v8; // [xsp+30h] [xbp+30h] BYREF
char v9; // [xsp+32h] [xbp+32h]
v4 = (*(__int64 (__fastcall **)(cocos2d::CCAtlasNode *))(*(_QWORD *)this + 944LL))(this);
v5 = *(_QWORD *)this;
v8 = *(_WORD *)v4;
v6 = *(_BYTE *)(v4 + 2);
*((_BYTE *)this + 384) = a2;
v9 = v6;
(*(void (__fastcall **)(cocos2d::CCAtlasNode *, __int16 *))(v5 + 960))(this, &v8);
return _stack_chk_guard;
}