//
// cocos2d::CCLayerGradient::init from 0x7d6d04 to 0x7d6d52 (78 bytes)
//
// 0 xrefs:
//
// 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::init(cocos2d::CCLayerGradient *this)
{
int (__fastcall *v1)(cocos2d::CCLayerGradient *, _BYTE *, _BYTE *); // r5
_BYTE v3[4]; // [sp+4h] [bp-10h] BYREF
_BYTE v4[4]; // [sp+8h] [bp-Ch] BYREF
v3[3] = -1;
v4[3] = -1;
v1 = *(int (__fastcall **)(cocos2d::CCLayerGradient *, _BYTE *, _BYTE *))(*(_DWORD *)this + 652);
v3[0] = 0;
v3[1] = 0;
v3[2] = 0;
v4[0] = 0;
v4[1] = 0;
v4[2] = 0;
return v1(this, v3, v4);
}