// // cocos2d::CCLayerRGBA::init from 0xaea7d8 to 0xaea858 (128 bytes) // // 2 xrefs: // > @ 0x3ba60 // > @ 0x1203d20 // // 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) { bool v2; // w20 cocos2d::CCLayerRGBA_vtbl *v3; // x3 v2 = cocos2d::CCLayer::init(a1); if ( v2 ) { a1->_realOpacity = -1; a1->_displayedOpacity = -1; a1->_realColor.r = -1; a1->_realColor.g = -1; a1->_realColor.b = -1; v3 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; *(_WORD *)&a1->_displayedColor.r = *(_WORD *)&a1->_realColor.r; a1->_displayedColor.b = -1; v3->setCascadeOpacityEnabled(a1, 0); a1->setCascadeColorEnabled(a1, 0); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source