// // GJMoreGamesLayer::customSetup from 0x42b400 to 0x42b4be (190 bytes) // // 0 xrefs: // // 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; // r0 CustomListView *v3; // r0 cocos2d::CCDirector *v4; // r0 cocos2d::CCLabelBMFont *v5; // r5 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCSize v7; // [sp+14h] [bp-18h] BYREF cocos2d::CCPoint v8; // [sp+1Ch] [bp-10h] 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); ((void (__fastcall *)(GJListLayer *, CustomListView *, int, void (__fastcall *)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int), _DWORD, int, _DWORD))a1->m_listLayer->addChild_0)( a1->m_listLayer, v3, 6, a1->m_listLayer->addChild_0, 0, 11, 0); if ( !cocos2d::CCArray::count(a1->m_moreGamesList) ) { v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v7, v4); v5 = cocos2d::CCLabelBMFont::create(); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, int))v5->setScale)(v5, 1058642330); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 10); setPosition = v5->setPosition; cocos2d::CCPoint::CCPoint(&v8, v7.width * 0.5, v7.height * 0.5); setPosition(v5, &v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source