//
// cocos2d::CCAtlasNode::setOpacityModifyRGB from 0x7c2dc0 to 0x7c2e04 (68 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCAtlasNode::setOpacityModifyRGB @ 0x7c2e0c
//
// 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:21 +0000
//
int __fastcall cocos2d::CCAtlasNode::setOpacityModifyRGB(cocos2d::CCAtlasNode *this, int a2)
{
char v3; // r6
int v4; // r0
char v5; // r2
__int16 v6; // r3
int v7; // r2
_DWORD v9[2]; // [sp+0h] [bp-8h] BYREF
v9[0] = this;
v9[1] = a2;
v3 = a2;
v4 = (*(int (__fastcall **)(cocos2d::CCAtlasNode *))(*(_DWORD *)this + 472))(this);
v5 = *(_BYTE *)(v4 + 2);
v6 = *(_WORD *)v4;
*((_BYTE *)this + 308) = v3;
BYTE2(v9[0]) = v5;
v7 = *(_DWORD *)this;
LOWORD(v9[0]) = v6;
return (*(int (__fastcall **)(cocos2d::CCAtlasNode *, _DWORD *))(v7 + 480))(this, v9);
}