//
// cocos2d::CCLayerRGBA::init from 0x7d7400 to 0x7d744e (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::CCLayerRGBA::init(cocos2d::CCLayerRGBA *this)
{
int v2; // r5
int v3; // r3
v2 = cocos2d::CCLayer::init(this);
if ( v2 )
{
*((_BYTE *)this + 321) = -1;
*((_BYTE *)this + 320) = -1;
*(_WORD *)((char *)this + 325) = -1;
*((_BYTE *)this + 327) = -1;
*((_BYTE *)this + 324) = -1;
v3 = *(_DWORD *)this;
*((_WORD *)this + 161) = *(_WORD *)((char *)this + 325);
(*(void (__fastcall **)(cocos2d::CCLayerRGBA *, _DWORD))(v3 + 596))(this, 0);
(*(void (__fastcall **)(cocos2d::CCLayerRGBA *, _DWORD))(*(_DWORD *)this + 620))(this, 0);
}
return v2;
}