// // OptionsScrollLayer::setupList from 0x14047f160 to 0x14047f2c8 (360 bytes) // // 6 xrefs: // > OptionsScrollLayer::init @ 0x14047edef // > OptionsScrollLayer::onMatchToggle @ 0x14047eedf // > OptionsScrollLayer::onClearAll @ 0x14047ef94 // > OptionsScrollLayer::textChanged @ 0x14047f0e8 // > OptionsScrollLayer::cellPerformedAction @ 0x14047f3cb // > @ 0x1409287d8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:32:44 +0000 // __int64 __fastcall OptionsScrollLayer::setupList(__int64 a1, __int64 a2) { int v2; // esi __int64 v5; // rax struct cocos2d::CCObject *v6; // rbx cocos2d::CCTouchDispatcher *v7; // rax __int64 v8; // rax int v9; // edx __int64 v10; // rbx cocos2d::CCObject *RelevantObjects; // rax cocos2d::CCLayerColor *v12; // rax __int64 v13; // rcx __int64 *v14; // rdi __int64 v15; // rbx __int64 v16; // rax __int64 v18; // [rsp+20h] [rbp-48h] int v19; // [rsp+30h] [rbp-38h] float v20; // [rsp+70h] [rbp+8h] BYREF float v21; // [rsp+74h] [rbp+Ch] char v22; // [rsp+78h] [rbp+10h] BYREF v2 = 0; if ( *(_QWORD *)(a1 + 680) ) { v5 = cocos2d::CCDirector::sharedDirector(a1); v6 = *(struct cocos2d::CCObject **)(a1 + 680); v7 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, v6); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 680) + 528LL))(*(_QWORD *)(a1 + 680)); *(_QWORD *)(a1 + 680) = 0; } v8 = cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize(v8, &v20); if ( a2 ) { v10 = a1 + 664; if ( !a1 ) v10 = 0; RelevantObjects = (cocos2d::CCObject *)OptionsScrollLayer::getRelevantObjects(a1, a2); v19 = 0; v2 = (unsigned int)CustomListView::create(RelevantObjects, v10, 220.0, 340.0, v18, 24); } v12 = GJCommentListLayer::create(v2, v9, -12684609, 340.0, 1130102784, 0, v19); v13 = *(_QWORD *)(a1 + 584); *(_QWORD *)(a1 + 680) = v12; (*(void (__fastcall **)(__int64, cocos2d::CCLayerColor *))(*(_QWORD *)v13 + 464LL))(v13, v12); v14 = *(__int64 **)(a1 + 680); v15 = *v14; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v22, (float)(v20 - 340.0) * 0.5, (float)((float)(v21 - 220.0) * 0.5) - 10.0); return (*(__int64 (__fastcall **)(__int64 *, __int64))(v15 + 184))(v14, v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source