//
// cocos2d::CCLayerGradient::initWithColor from 0x7d6dbc to 0x7d6e00 (68 bytes)
//
// 1 xrefs:
// > GJGradientLayer::init @ 0x58b75a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:40 +0000
//
int __fastcall cocos2d::CCLayerGradient::initWithColor(int a1, int a2, int a3)
{
int (__fastcall *v6)(int, int, int, float *); // r7
float v8[2]; // [sp+4h] [bp-10h] BYREF
v6 = *(int (__fastcall **)(int, int, int, float *))(*(_DWORD *)a1 + 656);
cocos2d::CCPoint::CCPoint(v8, 0.0, -1.0);
return v6(a1, a2, a3, v8);
}