//
// GJGradientLayer::init from 0x1002a627c to 0x1002a62ec (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100919868
//
// 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 11:02:15 +0000
//
__int64 __fastcall GJGradientLayer::init(__int64 a1)
{
__int64 v2; // x20
float v4[2]; // [xsp+4h] [xbp-1Ch] BYREF
int v5; // [xsp+Ch] [xbp-14h] BYREF
v4[0] = NAN;
v5 = -16777216;
v2 = cocos2d::CCLayerGradient::initWithColor_1(a1, (__int64)v4, (__int64)&v5);
if ( (_DWORD)v2 )
{
sub_1000262BC(v4, 0.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 296LL))(a1, v4);
}
return v2;
}