//
// InfoLayer::create from 0x1403cdb00 to 0x1403cdd4a (586 bytes)
//
// 10 xrefs:
// > AccountReviewPopup::onNotes @ 0x1400b9a89
// > AccountReviewPopup::onCommentHistory @ 0x1400b9b16
// > EditorSoundConfigInfoLayer::onInfo @ 0x140195b9c
// > InfoLayer::reloadWindow @ 0x1403d28e3
// > LevelInfoLayer::onInfo @ 0x14042265c
// > LevelListLayer::onInfo @ 0x14042f8eb
// > PauseLayer::onSideButtonPressed @ 0x1404d966f
// > ProfilePage::onCommentHistory @ 0x140556ae8
// > ProfilePage::onModNotes @ 0x1405579f8
// > ??> @ 0x140924650
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:31:33 +0000
//
// Hidden C++ exception states: #wind=3
char *__fastcall InfoLayer::create(int a1, int a2, int a3, __int64 a4)
{
char *v8; // r15
_QWORD *v9; // rax
v8 = (char *)operator new(0x3C0u);
FLAlertLayer::FLAlertLayer((__int64)v8);
*(_QWORD *)v8 = &InfoLayer::`vftable';
*((_QWORD *)v8 + 40) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 41) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 42) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 43) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 44) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 51) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 54) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 68) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 83) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 84) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 85) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 86) = &InfoLayer::`vftable';
*((_QWORD *)v8 + 87) = 0;
*((_QWORD *)v8 + 88) = 0;
*((_QWORD *)v8 + 89) = 0;
*((_QWORD *)v8 + 90) = 0;
*(_OWORD *)(v8 + 728) = 0;
*((_QWORD *)v8 + 93) = 0;
*((_QWORD *)v8 + 94) = 15;
v8[728] = 0;
*((_QWORD *)v8 + 95) = 0;
*((_QWORD *)v8 + 97) = 0;
*((_QWORD *)v8 + 98) = 0;
*((_QWORD *)v8 + 99) = 0;
*((_QWORD *)v8 + 100) = 0;
*((_QWORD *)v8 + 101) = 0;
*((_QWORD *)v8 + 102) = 0;
*((_QWORD *)v8 + 103) = 0;
*((_QWORD *)v8 + 104) = 0;
*((_QWORD *)v8 + 107) = 0;
*((_QWORD *)v8 + 108) = 0;
*((_QWORD *)v8 + 109) = 0;
v8[880] = 0;
v8[888] = 0;
*((_QWORD *)v8 + 112) = 0;
*((_QWORD *)v8 + 113) = 0;
*((_QWORD *)v8 + 114) = 0;
*((_QWORD *)v8 + 115) = 0;
*((_QWORD *)v8 + 116) = 0;
*((_QWORD *)v8 + 117) = 0;
*((_QWORD *)v8 + 118) = 0;
v9 = operator new(0x30u);
*v9 = v9;
v9[1] = v9;
v9[2] = v9;
*((_WORD *)v9 + 12) = 257;
*((_QWORD *)v8 + 117) = v9;
*((_QWORD *)v8 + 119) = 0;
if ( (unsigned __int8)InfoLayer::init((_DWORD)v8, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return v8;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v8 + 8LL))(v8, 1);
return nullptr;
}
}