//
// GJListLayer::create from 0x515580 to 0x515620 (160 bytes)
//
// 3 xrefs:
// > LevelBrowserLayer::setupLevelBrowser @ 0x4a63e6
// > GJDropDownLayer::init @ 0x52be1e
// > LeaderboardsLayer::setupLevelBrowser @ 0x563110
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:36 +0000
//
cocos2d::CCLayerColor *__fastcall GJListLayer::create(
cocos2d::CCObject *a1,
cocos2d::CCLabelBMFont *a2,
int a3,
float a4,
float a5,
int a6)
{
cocos2d::CCLayerColor *v9; // r4
int v10; // r3
cocos2d::CCLayerColor *v11; // r0
v9 = (cocos2d::CCLayerColor *)operator new(0x1BCu);
cocos2d::CCLayerColor::CCLayerColor(v9);
*(_DWORD *)v9 = &off_CA8620;
*((_DWORD *)v9 + 66) = &off_CA88B4;
*((_DWORD *)v9 + 67) = &off_CA88EC;
*((_DWORD *)v9 + 68) = &off_CA88F8;
*((_DWORD *)v9 + 69) = &off_CA8908;
*((_DWORD *)v9 + 70) = &off_CA891C;
*((_DWORD *)v9 + 83) = &off_CA8974;
*((_DWORD *)v9 + 110) = 0;
*((_DWORD *)v9 + 79) = &off_CA8934;
if ( GJListLayer::init(v9, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
v10 = *(_DWORD *)v9;
v11 = v9;
v9 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(v10 + 8))(v11);
}
return v9;
}