//
// cocos2d::CCLayerGradient::setValues from 0xd5dba0 to 0xd5dc14 (116 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::updateGradientLayers @ 0x9a166c
// > ??> @ 0x44aa0
//
// 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:48 +0000
//
__int64 __fastcall cocos2d::CCLayerGradient::setValues(
__int64 a1,
__int16 *a2,
char a3,
__int64 a4,
char a5,
float *a6)
{
__int16 v8; // w7
char v10; // w5
v8 = *a2;
*(_WORD *)(a1 + 421) = v8;
v10 = *((_BYTE *)a2 + 2);
*(_BYTE *)(a1 + 423) = v10;
*(_WORD *)(a1 + 418) = v8;
*(_BYTE *)(a1 + 420) = v10;
*(_BYTE *)(a1 + 550) = a3;
*(_WORD *)(a1 + 547) = *(_WORD *)a4;
*(_BYTE *)(a1 + 549) = *(_BYTE *)(a4 + 2);
*(_BYTE *)(a1 + 551) = a5;
cocos2d::CCPoint::operator=((float *)(a1 + 552), a6);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1296LL))(a1);
}