// // cocos2d::CCLayerRGBA::init from 0x5cf270 to 0x5cf2be (78 bytes) // // 0 xrefs: // // 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::CCLayerRGBA::init(cocos2d::CCLayerRGBA *a1) { _BOOL4 v2; // r5 cocos2d::CCLayerRGBA_vtbl *v3; // r3 v2 = cocos2d::CCLayer::init(a1); if ( v2 ) { a1->_realOpacity = -1; a1->_displayedOpacity = -1; *(_WORD *)&a1->_realColor.r = -1; a1->_realColor.b = -1; a1->_displayedColor.b = -1; v3 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; *(_WORD *)&a1->_displayedColor.r = *(_WORD *)&a1->_realColor.r; v3->setCascadeOpacityEnabled(a1, 0); a1->setCascadeColorEnabled(a1, 0); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source