// // GJMoreGamesLayer::customSetup from 0x1000652ac to 0x1000653a4 (248 bytes) // // 1 xrefs: // > @ 0x100777838 // // 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; // x0 CustomListView *v3; // x0 cocos2d::CCDirector *v4; // x0 cocos2d::CCLabelBMFont *v5; // x20 __n128 v6; // q0 __n128 v7; // q1 _DWORD v8[4]; // [xsp+0h] [xbp-20h] BYREF MoreGamesList = GJMoreGamesLayer::getMoreGamesList(a1); a1->m_moreGamesList = MoreGamesList; cocos2d::CCObject::retain(MoreGamesList); v3 = 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, v3, 6); if ( !(unsigned int)sub_10024A36C(a1->m_moreGamesList) ) { v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v4); v5 = cocos2d::CCLabelBMFont::create_1("Nothing here yet... sorry :(", "bigFont.fnt"); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v5->setScale)(v5, 0.6); v6 = ((__n128 (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *, __int64))a1->m_mainLayer->addChild_0)( a1->m_mainLayer, v5, 10); v6.n128_f32[0] = *(float *)&v8[2] * 0.5; v7.n128_f32[0] = *(float *)&v8[3] * 0.5; sub_100022980(v6, v7, v8); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _DWORD *))v5->setPosition)(v5, v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source