//
// InfoLayer::create from 0x431480 to 0x4315b0 (304 bytes)
//
// 4 xrefs:
// > LevelInfoLayer::onInfo @ 0x3b15ba
// > InfoLayer::reloadWindow @ 0x43164c
// > ProfilePage::onCommentHistory @ 0x4c48c4
// > LevelListLayer::onInfo @ 0x58fa74
//
// 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; // r4
InfoLayer_vtbl *v7; // r3
InfoLayer *v8; // r0
v6 = (InfoLayer *)operator new(0x250u);
cocos2d::CCLayerColor::CCLayerColor(v6);
v6->m_controlConnected = -1;
v6->m_joystickConnected = -1;
v6->m_buttonMenu = nullptr;
v6->m_alertProtocol = nullptr;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (InfoLayer_vtbl *)&off_A626D8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A62984;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A629BC;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A629C8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A629D8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A629E8;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A629FC;
v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A62A3C;
v6->LevelCommentDelegate::__vftable = (LevelCommentDelegate_vtbl *)&off_A62A4C;
v6->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A62A78;
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->CommentUploadDelegate::__vftable = (CommentUploadDelegate_vtbl *)&off_A62A64;
v6->m_level = nullptr;
v6->m_score = nullptr;
v6->m_levelList = nullptr;
v6->m_commentKey.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
v6->m_loadingCircle = nullptr;
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);
}
else
{
v7 = v6->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v8 = v6;
v6 = nullptr;
v7->~InfoLayer_0(v8);
}
return v6;
}