//
// cocos2d::CCNodeRGBA::init from 0xacbae0 to 0xacbb38 (88 bytes)
//
// 20 xrefs:
// > AchievementBar::init @ 0x7d7704
// > cocos2d::CCSprite::initWithTexture @ 0xb16040
// > ??> @ 0x76c68
// > ??> @ 0x11389d0
// > ??> @ 0x1138ee0
// > ??> @ 0x1156210
// > ??> @ 0x117f9c0
// > ??> @ 0x11a1f50
// > ??> @ 0x11ffc40
// > ??> @ 0x1200500
// > ??> @ 0x1201920
// > ??> @ 0x120ea20
// > ??> @ 0x120eef0
// > ??> @ 0x120f3c0
// > ??> @ 0x120f870
// > ??> @ 0x120fd40
// > ??> @ 0x1210720
// > ??> @ 0x1210fe0
// > ??> @ 0x12114c0
// > ??> @ 0x121b450
//
// 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 cocos2d::CCNodeRGBA::init(cocos2d::CCNodeRGBA *a1)
{
bool result; // w0
result = cocos2d::CCNode::init(a1);
if ( result )
{
a1->_realOpacity = -1;
a1->_displayedOpacity = -1;
a1->_realColor.r = -1;
a1->_realColor.g = -1;
a1->_realColor.b = -1;
*(_WORD *)&a1->_displayedColor.r = *(_WORD *)&a1->_realColor.r;
a1->_displayedColor.b = -1;
a1->_cascadeColorEnabled = 0;
a1->_cascadeOpacityEnabled = 0;
}
return result;
}