//
// cocos2d::CCLayerGradient::init from 0x180051d20 to 0x180051d4c (44 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800f4048
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bc184
//
// 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 11:21:45 +0000
//
bool __fastcall cocos2d::CCLayerGradient::init(cocos2d::CCLayerGradient *this)
{
__int64 v1; // rax
int v3; // [rsp+30h] [rbp+8h] BYREF
int v4; // [rsp+38h] [rbp+10h] BYREF
v1 = *(_QWORD *)this;
v3 = -16777216;
v4 = -16777216;
return (*(bool (__fastcall **)(cocos2d::CCLayerGradient *, int *, int *))(v1 + 1064))(this, &v4, &v3);
}