//
// cocos2d::CCLayerRGBA::init from 0xd5c538 to 0xd5c5b8 (128 bytes)
//
// 2 xrefs:
// > ??> @ 0x568d8
// > ??> @ 0x15196e0
//
// 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::CCLayerRGBA::init(cocos2d::CCLayerRGBA *this)
{
unsigned __int8 v2; // w0
unsigned int v3; // w20
__int64 v4; // x3
v2 = cocos2d::CCLayer::init(this);
v3 = v2;
if ( v2 )
{
*((_BYTE *)this + 417) = -1;
*((_BYTE *)this + 416) = -1;
*((_BYTE *)this + 421) = -1;
*((_BYTE *)this + 422) = -1;
*((_BYTE *)this + 423) = -1;
v4 = *(_QWORD *)this;
*((_WORD *)this + 209) = *(_WORD *)((char *)this + 421);
*((_BYTE *)this + 420) = -1;
(*(void (__fastcall **)(cocos2d::CCLayerRGBA *, _QWORD))(v4 + 1192))(this, 0);
(*(void (__fastcall **)(cocos2d::CCLayerRGBA *, _QWORD))(*(_QWORD *)this + 1240LL))(this, 0);
}
return v3;
}