//
// cocos2d::CCAtlasNode::setOpacity from 0x100316770 to 0x1003167aa (58 bytes)
//
// 3 xrefs:
// > ??> @ 0x100ae56b0
// > ??> @ 0x100b1cc20
// > ??> @ 0x100ba2ad8
//
// This function is hookable on this platform (idp: pc, 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 12:28:40 +0000
//
__int64 __fastcall cocos2d::CCAtlasNode::setOpacity(_BYTE *a1, char a2)
{
__int64 result; // rax
result = cocos2d::CCNodeRGBA::setOpacity((__int64)a1, a2);
if ( a1[384] == 1 )
return (*(__int64 (__fastcall **)(_BYTE *, _BYTE *))(*(_QWORD *)a1 + 960LL))(a1, a1 + 368);
return result;
}