//
// cocos2d::CCLayerGradient::init from 0x5ceb78 to 0x5cebc6 (78 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool cocos2d::CCLayerGradient::init(cocos2d::CCLayerGradient *a1)
{
bool (__fastcall *initWithColor_1)(cocos2d::CCLayerGradient *__hidden, const cocos2d::ccColor4B *, const cocos2d::ccColor4B *); // r5
_BYTE v3[4]; // [sp+4h] [bp-10h] BYREF
_BYTE v4[4]; // [sp+8h] [bp-Ch] BYREF
v3[3] = -1;
v4[3] = -1;
initWithColor_1 = a1->initWithColor_1;
v3[0] = 0;
v3[1] = 0;
v3[2] = 0;
v4[0] = 0;
v4[1] = 0;
v4[2] = 0;
return initWithColor_1(a1, (const cocos2d::ccColor4B *)v3, (const cocos2d::ccColor4B *)v4);
}