// // OptionsScrollLayer::setupList from 0x582834 to 0x582942 (270 bytes) // // 2 xrefs: // > OptionsScrollLayer::init @ 0x582a56 // > OptionsScrollLayer::cellPerformedAction @ 0x582bf8 // // 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 OptionsScrollLayer::setupList(OptionsScrollLayer *a1, cocos2d::CCArray *a2) { cocos2d::CCDirector *v4; // r0 cocos2d::CCTouchDispatcher *v5; // r0 cocos2d::CCDirector *v6; // r0 cocos2d::CCArray *RelevantObjects; // r0 CustomListView *v8; // r0 GJCommentListLayer *v9; // r0 GJCommentListLayer *m_listLayer; // r5 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCSize v12; // [sp+14h] [bp-18h] BYREF cocos2d::CCPoint v13; // [sp+1Ch] [bp-10h] BYREF if ( a1->m_listLayer ) { v4 = cocos2d::CCDirector::sharedDirector(); v5 = v4->getTouchDispatcher(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1->m_listLayer); a1->m_listLayer->removeMeAndCleanup(a1->m_listLayer); a1->m_listLayer = nullptr; } v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v12, v6); if ( a2 ) { RelevantObjects = OptionsScrollLayer::getRelevantObjects(a1, a2); v8 = CustomListView::create(RelevantObjects, (BoomListType)&a1->TableViewCellDelegate, 220.0, 340.0); } else { v8 = nullptr; } v9 = GJCommentListLayer::create(v8, (const char *)&unk_939830, (cocos2d::ccColor4B)-12684609, 340.0, 220.0, 0); a1->m_listLayer = v9; a1->m_mainLayer->addChild(a1->m_mainLayer, v9); m_listLayer = a1->m_listLayer; setPosition = m_listLayer->setPosition; cocos2d::CCPoint::CCPoint(&v13, (float)(v12.width - 340.0) * 0.5, (float)((float)(v12.height - 220.0) * 0.5) - 10.0); setPosition(m_listLayer, &v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source