//
// InfoLayer::create from 0x1402ba8d0 to 0x1402baa68 (408 bytes)
//
// 5 xrefs:
// > InfoLayer::reloadWindow @ 0x1402bf434
// > LevelInfoLayer::onInfo @ 0x1402fd3d9
// > LevelListLayer::onInfo @ 0x140307a48
// > ProfilePage::onCommentHistory @ 0x1403c3ca5
// > ??> @ 0x1406d27c8
//
// 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
//
// Hidden C++ exception states: #wind=1
InfoLayer *InfoLayer::create(GJGameLevel *a1, GJUserScore *a2, GJLevelList *a3)
{
char *v6; // r14
v6 = (char *)operator new(0x338u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v6);
*(_QWORD *)v6 = &InfoLayer::`vftable';
*((_QWORD *)v6 + 40) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 41) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 42) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 43) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 44) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 51) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 54) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 79) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 80) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 81) = &InfoLayer::`vftable';
*((_QWORD *)v6 + 82) = 0;
*((_QWORD *)v6 + 83) = 0;
*((_QWORD *)v6 + 84) = 0;
*(_OWORD *)(v6 + 680) = 0;
*((_QWORD *)v6 + 87) = 0;
*((_QWORD *)v6 + 88) = 15;
v6[680] = 0;
*((_QWORD *)v6 + 89) = 0;
*((_QWORD *)v6 + 91) = 0;
*((_QWORD *)v6 + 92) = 0;
*((_QWORD *)v6 + 93) = 0;
*((_QWORD *)v6 + 94) = 0;
*((_QWORD *)v6 + 95) = 0;
*((_QWORD *)v6 + 96) = 0;
*((_QWORD *)v6 + 99) = 0;
*((_QWORD *)v6 + 100) = 0;
*((_QWORD *)v6 + 101) = 0;
v6[816] = 0;
if ( InfoLayer::init((InfoLayer *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (InfoLayer *)v6;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v6 + 8LL))(v6, 1);
return nullptr;
}
}