//
// GJMoreGamesLayer::customSetup from 0x7d9de8 to 0x7d9f10 (296 bytes)
//
// 2 xrefs:
// > ??> @ 0xbf070
// > ??> @ 0x1180308
//
// 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 GJMoreGamesLayer::customSetup(GJMoreGamesLayer *a1)
{
cocos2d::CCArray *MoreGamesList; // x0
CustomListView *v3; // x0
cocos2d::CCDirector *v4; // x0
cocos2d::CCLabelBMFont *v5; // x22
void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x19
float v7; // [xsp+48h] [xbp+48h]
float v8; // [xsp+4Ch] [xbp+4Ch]
cocos2d::CCPoint v9; // [xsp+50h] [xbp+50h] BYREF
MoreGamesList = GJMoreGamesLayer::getMoreGamesList(a1);
a1->m_moreGamesList = MoreGamesList;
cocos2d::CCObject::retain(MoreGamesList);
v3 = CustomListView::create(a1->m_moreGamesList, (BoomListType)0, 220.0, 356.0);
a1->m_listLayer->addChild_0(a1->m_listLayer, v3, 6);
if ( !(unsigned int)cocos2d::CCArray::count(a1->m_moreGamesList) )
{
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(v4);
v5 = cocos2d::CCLabelBMFont::create();
v5->setScale(v5, 0.6);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 10);
setPosition = v5->setPosition;
cocos2d::CCPoint::CCPoint(&v9, v7 * 0.5, v8 * 0.5);
setPosition(v5, &v9);
}
}