//
// InfoLayer::create from 0x7e5978 to 0x7e5b08 (400 bytes)
//
// 5 xrefs:
// > LevelInfoLayer::onInfo @ 0x6d575c
// > InfoLayer::reloadWindow @ 0x7e5bf8
// > ProfilePage::onCommentHistory @ 0x8f7c58
// > LevelListLayer::onInfo @ 0xa72648
// > ??> @ 0x51d80
//
// 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
//
InfoLayer *InfoLayer::create(GJGameLevel *a1, GJUserScore *a2, GJLevelList *a3)
{
InfoLayer *v6; // x19
v6 = (InfoLayer *)operator new(0x320u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_buttonMenu = nullptr;
v6->m_alertProtocol = nullptr;
v6->m_scene = nullptr;
v6->m_controlConnected = -1;
v6->m_joystickConnected = -1;
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_level = nullptr;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (InfoLayer_vtbl *)&off_1182990;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1182EE8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1182F58;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_1182F70;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1182F90;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1182FB0;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_1182FD8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_1183058;
v6->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_11830D0;
v6->LevelCommentDelegate::__vftable = (LevelCommentDelegate_vtbl *)&off_1183078;
v6->CommentUploadDelegate::__vftable = (CommentUploadDelegate_vtbl *)&off_11830A8;
v6->m_score = nullptr;
v6->m_levelList = nullptr;
v6->m_loadingCircle = nullptr;
v6->m_commentKey.m_data.m_data = (stl::StringData::Internal *)&byte_124B6C8;
v6->m_noComments = nullptr;
v6->m_list = nullptr;
v6->m_rightArrow = nullptr;
v6->m_leftArrow = nullptr;
v6->m_likeBtn = nullptr;
v6->m_timeBtn = nullptr;
v6->m_refreshCommentsBtn = nullptr;
v6->m_itemCount = 0;
v6->m_pageStartIdx = 0;
v6->m_pageEndIdx = 0;
v6->m_page = 0;
v6->m_canUpdateUserScore = 0;
if ( InfoLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
v6->~InfoLayer_0(v6);
return nullptr;
}
}