//
// cocos2d::CCLayerGradient::initWithColor from 0xd5bc8c to 0xd5bd10 (132 bytes)
//
// 4 xrefs:
// > GJGradientLayer::init @ 0x998c38
// > ??> @ 0x4c2d0
// > ??> @ 0x14762a8
// > ??> @ 0x151a8f8
//
// This function is hookable on this platform (idp: arm, 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 13:07:47 +0000
//
__int64 __fastcall cocos2d::CCLayerGradient::initWithColor(__int64 a1, __int64 a2, __int64 a3)
{
__int64 (__fastcall *v4)(__int64, __int64, __int64, float *); // x21
float v8; // [xsp+50h] [xbp+50h] BYREF
v4 = *(__int64 (__fastcall **)(__int64, __int64, __int64, float *))(*(_QWORD *)a1 + 1312LL);
cocos2d::CCPoint::CCPoint(&v8, 0.0, -1.0);
return v4(a1, a2, a3, &v8);
}