//
// GJRateLevelLayer::GJRateLevelLayer from 0x1005080b0 to 0x100508300 (592 bytes)
//
// 1 xrefs:
// > GJRateLevelLayer::create @ 0x100505a7a
//
// 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 *__fastcall GJRateLevelLayer::GJRateLevelLayer(GJRateLevelLayer *a1)
{
GJRateLevelLayer *result; // rax
cocos2d::CCLayerColor::CCLayerColor((__int64)a1);
a1->m_mainLayer = nullptr;
a1->m_ZOrder = 0;
a1->m_noElasticity = 0;
*(_OWORD *)&a1->m_buttonMenu = 0;
*(_OWORD *)((char *)&a1->m_alertProtocol + 1) = 0;
*(_OWORD *)&a1->m_button1 = 0;
a1->m_scrollingLayer = nullptr;
a1->m_controlConnected = -1;
*(_WORD *)&a1->m_containsBorder = 0;
a1->m_joystickConnected = -1;
a1->m_forcePrioRegistered = 0;
*(_OWORD *)&a1->m_shouldLimitValues.__tree_.__pair1_.__value_.__left_ = 0;
*(_OWORD *)&a1->m_gameObject = 0;
*(_WORD *)&a1->m_touchTriggered = 0;
*(_OWORD *)&a1->m_touchToggle = 0;
*(_OWORD *)((char *)&a1->m_spawnToggle + 1) = 0;
*(_QWORD *)&a1->m_width = 0;
a1->m_disableTextDelegate = 0;
*(_OWORD *)&a1->m_triggerValues = 0;
*(_OWORD *)&a1->m_easingType = 0;
*(_OWORD *)&a1->m_easingRateLabel = 0;
*(_OWORD *)&a1->m_disableButtons = 0;
*(_OWORD *)&a1->m_valueControls = 0;
*(_OWORD *)&a1->m_valueToggles = 0;
a1->m_maxSliderValues = nullptr;
a1->m_shouldLimitValues.__tree_.__begin_node_ = &a1->m_shouldLimitValues.__tree_.__pair1_.__value_;
*(_WORD *)&a1->m_disableSliderDelegate = 0;
a1->m_pageContainers = nullptr;
*(_QWORD *)&a1->m_page = 0x3F80000000000000LL;
*(_OWORD *)&a1->m_groupContainers = 0;
*(_OWORD *)&a1->m_customEasingLabels = 0;
*(_OWORD *)&a1->m_customEasingScales = 0;
*(_OWORD *)&a1->m_prevButton = 0;
a1->m_hideAll = 0;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJRateLevelLayer_vtbl *)off_100959C80;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10095A280;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10095A2F0;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10095A308;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_10095A328;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10095A348;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_10095A370;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_10095A3F0;
a1->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_10095A410;
a1->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_10095A458;
a1->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_10095A470;
a1->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&off_10095A490;
a1->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)off_10095A4A8;
a1->LevelRateInfoDelegate::__vftable = (LevelRateInfoDelegate_vtbl *)off_10095A4C8;
a1->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_10095A4E8;
a1->m_level = nullptr;
a1->m_uploadFinished = 0;
a1->m_loadingCircle = nullptr;
*(_OWORD *)&a1->m_submitButton = 0;
*(cocos2d::CCArray **)((char *)&a1->m_starButtons + 5) = nullptr;
*(_OWORD *)((char *)&a1->m_uploadPopup + 4) = 0;
*(_OWORD *)&a1->m_coinSprite = 0;
sub_10028CC30(&a1->m_center);
return result;
}