//
// cocos2d::CCLayerColor::init from 0x18004fea0 to 0x18004feee (78 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800ed930
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1ed8
// > ??> @ 0x1801b1ee4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall cocos2d::CCLayerColor::init(cocos2d::CCLayerColor *this)
{
cocos2d::CCDirector *v2; // rax
int v4; // [rsp+30h] [rbp+8h] BYREF
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v2);
v4 = 0;
return ((bool (__fastcall *)(cocos2d::CCLayerColor *, int *))this->initWithColor_0)(this, &v4);
}