//
// GJMoreGamesLayer::customSetup from 0x1007954f0 to 0x1007955f3 (259 bytes)
//
// 1 xrefs:
// > ??> @ 0x10098cbd0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJMoreGamesLayer::customSetup(GJMoreGamesLayer *a1)
{
cocos2d::CCArray *MoreGamesList; // rax
CustomListView *v2; // rax
cocos2d::CCLabelBMFont *v3; // r14
float v4; // [rsp+0h] [rbp-20h] BYREF
float v5[6]; // [rsp+8h] [rbp-18h] BYREF
MoreGamesList = GJMoreGamesLayer::getMoreGamesList(a1);
a1->m_moreGamesList = MoreGamesList;
cocos2d::CCObject::retain(MoreGamesList);
v2 = CustomListView::create(a1->m_moreGamesList, nullptr, 220.0, 356.0, 0, List|0x1, 0.0);
((void (__fastcall *)(GJListLayer *, CustomListView *, __int64))a1->m_listLayer->addChild_0)(a1->m_listLayer, v2, 6);
if ( !(unsigned int)sub_100720070((__int64)a1->m_moreGamesList) )
{
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v5);
v3 = cocos2d::CCLabelBMFont::create_3("Nothing here yet... sorry :(", "bigFont.fnt");
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v3->setScale)(v3, 0.60000002);
((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *, __int64))a1->m_mainLayer->addChild_0)(
a1->m_mainLayer,
v3,
10);
sub_10028CBE0(&v4, v5[0] * 0.5, 0.5 * v5[1]);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, float *))v3->setPosition)(v3, &v4);
}
}