//
// cocos2d::CCLayerGradient::initWithColor_1 from 0x100149f64 to 0x100149fc4 (96 bytes)
//
// 3 xrefs:
// > GJGradientLayer::init @ 0x100209188
// > ??> @ 0x100798680
// > ??> @ 0x1007c18c8
//
// 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)
{
__n128 v3; // q0
__n128 v4; // q1
int v9; // [xsp+8h] [xbp-28h] BYREF
v3.n128_u32[0] = 0;
v4.n128_u32[0] = -1.0;
sub_100022980(v3, v4, &v9);
return ((bool (__fastcall *)(cocos2d::CCLayerGradient *, const cocos2d::ccColor4B *, const cocos2d::ccColor4B *, int *))a1->initWithColor_2)(
a1,
a2,
a3,
&v9);
}