//
// RateStarsLayer::create from 0x8250c8 to 0x825230 (360 bytes)
//
// 3 xrefs:
// > LevelInfoLayer::onRateStarsMod @ 0x6d58d8
// > LevelInfoLayer::onRateStars @ 0x6d727c
// > ??> @ 0x31380
//
// 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
//
RateStarsLayer *RateStarsLayer::create(int a1, bool a2, bool a3)
{
RateStarsLayer *v6; // x19
v6 = (RateStarsLayer *)operator new(0x2D8u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_buttonMenu = nullptr;
v6->m_controlConnected = -1;
v6->m_joystickConnected = -1;
v6->m_alertProtocol = nullptr;
v6->m_scene = nullptr;
v6->m_reverseKeyBack = 0;
v6->m_mainLayer = nullptr;
v6->m_ZOrder = 0;
v6->m_noElasticity = 0;
v6->m_button1 = nullptr;
v6->m_button2 = nullptr;
v6->m_scrollingLayer = nullptr;
v6->m_containsBorder = 0;
v6->m_noAction = 0;
v6->m_forcePrioRegistered = 0;
v6->m_uploadFinished = 0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RateStarsLayer_vtbl *)&off_1188380;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11888B8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1188928;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_1188940;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1188960;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1188980;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11889A8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_1188A28;
v6->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_1188A48;
v6->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)off_1188A60;
v6->m_moderator = 0;
v6->m_submitButton = nullptr;
v6->m_buttons = nullptr;
v6->m_levelID = 0;
v6->m_starsRate = 0;
v6->m_coinsToggled = 0;
v6->m_coinSprite = nullptr;
v6->m_popup = nullptr;
v6->m_difficultySprite = nullptr;
v6->m_featureState = 0;
v6->m_delegate = nullptr;
if ( RateStarsLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
v6->~RateStarsLayer_0(v6);
return nullptr;
}
}