//
// GJRateLevelLayer::create from 0x454d84 to 0x454f3a (438 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::onRateStarsMod @ 0x3b1692
//
// 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
//
GJRateLevelLayer *GJRateLevelLayer::create(GJGameLevel *a1)
{
GJRateLevelLayer *v2; // r4
GJRateLevelLayer_vtbl *v3; // r3
int *v4; // r0
v2 = (GJRateLevelLayer *)operator new(0x2ECu);
FLAlertLayer::FLAlertLayer(v2);
v2->m_width = 0.0;
v2->m_height = 0.0;
v2->m_easingRate = 0.0;
v2->m_gameObject = nullptr;
v2->m_gameObjects = nullptr;
v2->m_touchTriggered = 0;
v2->m_spawnTriggered = 0;
v2->m_touchToggle = nullptr;
v2->m_spawnToggle = nullptr;
v2->m_multiTriggerContainer = nullptr;
v2->m_multiTriggered = 0;
v2->m_disableTextDelegate = 0;
v2->m_valueToggles = nullptr;
v2->m_inputNodes = nullptr;
v2->m_valueControls = nullptr;
v2->m_customValueToggles = nullptr;
v2->m_disableButtons = nullptr;
v2->m_easingLabel = nullptr;
v2->m_easingRateLabel = nullptr;
v2->m_easingRateButton = nullptr;
v2->m_easingType = 0;
v2->m_inputLabels = nullptr;
v2->m_triggerValues = nullptr;
v2->m_minSliderValues = nullptr;
v2->m_maxSliderValues = nullptr;
memset(&v2->m_shouldLimitValues.m_header, 0, sizeof(v2->m_shouldLimitValues.m_header));
v2->m_easingControlScale = 1.0;
v2->m_shouldLimitValues.m_nodecount = 0;
v2->m_shouldLimitValues.m_header.m_left = &v2->m_shouldLimitValues.m_header;
v2->m_shouldLimitValues.m_header.m_right = &v2->m_shouldLimitValues.m_header;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJRateLevelLayer_vtbl *)&off_A64C08;
v2->m_disableSliderDelegate = 0;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A64F08;
v2->m_effectObjects = 0;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A64F40;
v2->m_pageContainers = nullptr;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A64F4C;
v2->m_page = 0;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A64F5C;
v2->m_groupContainers = nullptr;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A64F6C;
v2->m_customEasingTags = nullptr;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A64F80;
v2->m_customEasingLabels = nullptr;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A64FC0;
v2->m_customEasingButtons = nullptr;
v2->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A64FD0;
v2->m_customEasingScales = nullptr;
v2->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A64FF4;
v2->m_disabledEasingButtons = nullptr;
v2->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A65000;
v2->m_prevButton = nullptr;
v2->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_A65010;
v2->m_nextButton = nullptr;
v2->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&off_A6501C;
v2->m_hideAll = 0;
v2->LevelRateInfoDelegate::__vftable = (LevelRateInfoDelegate_vtbl *)&off_A6502C;
v2->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A6503C;
v2->m_level = nullptr;
v2->m_uploadFinished = 0;
v2->m_submitButton = nullptr;
v2->m_starButtons = nullptr;
v2->m_stars = 0;
v2->m_coinsToggled = 0;
v2->m_coinSprite = nullptr;
v2->m_uploadPopup = nullptr;
v2->m_difficultySprite = nullptr;
v2->m_featureState = 0;
v2->m_loadingCircle = nullptr;
cocos2d::CCPoint::CCPoint(&v2->m_center);
if ( GJRateLevelLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = (int *)v2;
v2 = nullptr;
v3->~GJRateLevelLayer_0((GJRateLevelLayer *)v4);
}
return v2;
}