//
// cocos2d::CCLayerGradient::initWithColor_1 from 0x1004b3b90 to 0x1004b3be1 (81 bytes)
//
// 3 xrefs:
// > GJGradientLayer::init @ 0x1001651b6
// > ??> @ 0x1008c25e8
// > ??> @ 0x10094aa08
//
// 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 __fastcall cocos2d::CCLayerGradient::initWithColor_1(
cocos2d::CCLayerGradient *a1,
const cocos2d::ccColor4B *a2,
const cocos2d::ccColor4B *a3)
{
float v5[10]; // [rsp+8h] [rbp-28h] BYREF
sub_10028CBE0(v5, 0.0, -1.0);
return ((bool (__fastcall *)(cocos2d::CCLayerGradient *, const cocos2d::ccColor4B *, const cocos2d::ccColor4B *, float *))a1->initWithColor_2)(
a1,
a2,
a3,
v5);
}