// // OptionsScrollLayer::setupList from 0xa5c498 to 0xa5c614 (380 bytes) // // 3 xrefs: // > OptionsScrollLayer::init @ 0xa5c77c // > OptionsScrollLayer::cellPerformedAction @ 0xa5ca20 // > @ 0x61890 // // 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; // x0 cocos2d::CCTouchDispatcher *v5; // x0 cocos2d::CCDirector *v6; // x0 cocos2d::CCArray *RelevantObjects; // x0 CustomListView *v8; // x0 GJCommentListLayer *v9; // x0 cocos2d::CCLayer *m_mainLayer; // x2 GJCommentListLayer *m_listLayer; // x19 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 float v13; // [xsp+58h] [xbp+58h] float v14; // [xsp+5Ch] [xbp+5Ch] cocos2d::CCPoint v15; // [xsp+60h] [xbp+60h] 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(v6); if ( a2 ) { RelevantObjects = OptionsScrollLayer::getRelevantObjects(a1, a2); v8 = CustomListView::create(RelevantObjects, (BoomListType)((_DWORD)a1 + 632), 220.0, 340.0); } else { v8 = nullptr; } v9 = GJCommentListLayer::create(v8, &byte_F288A0, (cocos2d::ccColor4B)-12684609, 340.0, 220.0, 0); m_mainLayer = a1->m_mainLayer; a1->m_listLayer = v9; m_mainLayer->addChild(m_mainLayer, v9); m_listLayer = a1->m_listLayer; setPosition = m_listLayer->setPosition; cocos2d::CCPoint::CCPoint(&v15, (float)(v13 - 340.0) * 0.5, (float)((float)(v14 - 220.0) * 0.5) + -10.0); setPosition(m_listLayer, &v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source