//
// GJListLayer::create from 0x14038db90 to 0x14038dcbd (301 bytes)
//
// 4 xrefs:
// > GJDropDownLayer::init @ 0x14035fac2
// > LeaderboardsLayer::setupLevelBrowser @ 0x1403dc23f
// > LevelBrowserLayer::setupLevelBrowser @ 0x1403e560c
// > ??> @ 0x140922ebc
//
// 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:10 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCLayerColor *__fastcall GJListLayer::create(int a1, int a2, int a3, float a4, int a5, int a6)
{
cocos2d::CCLayerColor *v9; // r14
v9 = (cocos2d::CCLayerColor *)operator new(0x228u);
cocos2d::CCLayerColor::CCLayerColor(v9);
*(_QWORD *)v9 = &GJListLayer::`vftable';
*((_QWORD *)v9 + 40) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 41) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 42) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 43) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 44) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 51) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 54) = &GJListLayer::`vftable';
*((_QWORD *)v9 + 68) = 0;
if ( (unsigned __int8)GJListLayer::init((_DWORD)v9, a1, a2, a3, LODWORD(a4), a5, a6) )
{
cocos2d::CCObject::autorelease(v9);
return v9;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayerColor *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1);
return nullptr;
}
}