//
// GJCommentListLayer::create from 0xa27ea0 to 0xa27fbc (284 bytes)
//
// 19 xrefs:
// > StartPosBrowser::setupList @ 0x7d6ca0
// > InfoLayer::setupCommentsBrowser @ 0x909b34
// > MessagesProfilePage::setupCommentsBrowser @ 0xa4a1ac
// > FRequestProfilePage::setupCommentsBrowser @ 0xa4cb8c
// > FriendsProfilePage::init @ 0xa50ef4
// > ProfilePage::setupCommentsBrowser @ 0xa54794
// > LevelLeaderboard::setupLeaderboard @ 0xa81ef0
// > TopArtistsLayer::setupLeaderboard @ 0xaac8d8
// > OptionsScrollLayer::setupList @ 0xb84c14
// > MusicBrowser::setupList @ 0xb852e4
// > NewsPopup::init @ 0xb8d9c4
// > SFXBrowser::setupList @ 0xb925e8
// > AudioAssetsBrowser::setupList @ 0xbc1df4
// > NotificationsPage::setupBrowser @ 0xc5edbc
// > MessageThreadsPage::setupThreadBrowser @ 0xc655a8
// > LevelPickerPopup::setupList @ 0xc67060
// > EditorSoundBrowserLayer::layoutCells @ 0xcc8734
// > SelectFontLayer2::init @ 0xd034a0
// > ??> @ 0x90af0
//
// This function is hookable on this platform (idp: arm, 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:59:43 +0000
//
cocos2d::CCLayerColor *__fastcall GJCommentListLayer::create(
__int64 a1,
__int64 a2,
int a3,
unsigned __int8 a4,
float a5,
float a6)
{
cocos2d::CCLayerColor *v12; // x19
v12 = (cocos2d::CCLayerColor *)operator new(0x228u);
cocos2d::CCLayerColor::CCLayerColor(v12);
*((_QWORD *)v12 + 68) = 0;
*(_QWORD *)v12 = &off_147C260;
*((_QWORD *)v12 + 40) = off_147C788;
*((_QWORD *)v12 + 41) = &off_147C7F8;
*((_QWORD *)v12 + 42) = off_147C810;
*((_QWORD *)v12 + 43) = off_147C830;
*((_QWORD *)v12 + 44) = off_147C858;
*((_QWORD *)v12 + 51) = &off_147C888;
*((_QWORD *)v12 + 54) = &off_147C908;
if ( (unsigned __int8)GJCommentListLayer::init(v12, a1, a5, a6, a2, a3, a4) )
{
cocos2d::CCObject::autorelease(v12);
return v12;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(*(_QWORD *)v12 + 16LL))(v12);
return nullptr;
}
}