//
// cocos2d::CCLayerGradient::CCLayerGradient from 0x1800cab60 to 0x1800cac72 (274 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c3ca8
//
// This function is hookable on this platform (idp: pc, 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:22:28 +0000
//
// Alternative name is '??0CCLayerGradient@cocos2d@@QEAA@$$QEAV01@@Z'
// Hidden C++ exception states: #wind=1
cocos2d::CCLayerGradient *__fastcall cocos2d::CCLayerGradient::CCLayerGradient(
cocos2d::CCLayerGradient *this,
const struct cocos2d::CCLayerGradient *a2)
{
cocos2d::CCLayerColor::CCLayerColor(this, a2);
*(_QWORD *)this = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)this + 40) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCTouchDelegate'};
*((_QWORD *)this + 41) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCAccelerometerDelegate'};
*((_QWORD *)this + 42) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCKeypadDelegate'};
*((_QWORD *)this + 43) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCKeyboardDelegate'};
*((_QWORD *)this + 44) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCMouseDelegate'};
*((_QWORD *)this + 51) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCLayerRGBA'};
*((_QWORD *)this + 54) = &cocos2d::CCLayerGradient::`vftable'{for `cocos2d::CCBlendProtocol'};
*((_WORD *)this + 272) = *((_WORD *)a2 + 272);
*((_BYTE *)this + 546) = *((_BYTE *)a2 + 546);
*(_WORD *)((char *)this + 547) = *(_WORD *)((char *)a2 + 547);
*((_BYTE *)this + 549) = *((_BYTE *)a2 + 549);
*((_BYTE *)this + 550) = *((_BYTE *)a2 + 550);
*((_BYTE *)this + 551) = *((_BYTE *)a2 + 551);
cocos2d::cc_timeval::operator=((_DWORD *)this + 138, (_DWORD *)a2 + 138);
*((_BYTE *)this + 560) = *((_BYTE *)a2 + 560);
*((_BYTE *)this + 561) = *((_BYTE *)a2 + 561);
return this;
}