//
// cocos2d::CCLayerGradient::setValues from 0x1004ad180 to 0x1004ad1f4 (116 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateGradientLayers @ 0x100117e94
//
// 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:30:57 +0000
//
__int64 __fastcall cocos2d::CCLayerGradient::setValues(
__int64 a1,
__int16 *a2,
char a3,
__int64 a4,
char a5,
_QWORD *a6)
{
__int16 v6; // ax
*(_BYTE *)(a1 + 423) = *((_BYTE *)a2 + 2);
*(_WORD *)(a1 + 421) = *a2;
v6 = *a2;
*(_BYTE *)(a1 + 420) = *((_BYTE *)a2 + 2);
*(_WORD *)(a1 + 418) = v6;
*(_BYTE *)(a1 + 550) = a3;
*(_WORD *)(a1 + 547) = *(_WORD *)a4;
*(_BYTE *)(a1 + 549) = *(_BYTE *)(a4 + 2);
*(_BYTE *)(a1 + 551) = a5;
sub_100278300((_QWORD *)(a1 + 552), a6);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1296LL))(a1);
}