//
// InfoLayer::create from 0x1008914c0 to 0x10089152e (110 bytes)
//
// 9 xrefs:
// > LevelInfoLayer::onInfo @ 0x1002ae55c
// > LevelListLayer::onInfo @ 0x100348fbc
// > PauseLayer::onSideButtonPressed @ 0x1003c15f8
// > sub_1008A2CB0 @ 0x1008a2cef
// > ProfilePage::onCommentHistory @ 0x1008a3436
// > sub_1008F6BF0 @ 0x1008f6c09
// > sub_100995D80 @ 0x100995d9d
// > sub_100996840 @ 0x100996854
// > sub_1009A2890 @ 0x1009a28a9
//
// 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 12:37:04 +0000
//
void *__fastcall InfoLayer::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
void *v6; // rbx
v6 = operator new(0x3C0u);
InfoLayer::InfoLayer(v6);
if ( (unsigned __int8)InfoLayer::init(v6, a1, a2, a3, a4) )
{
cocos2d::CCObject::autorelease((__int64)v6);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
return v6;
}