//
// OptionsScrollLayer::cellPerformedAction from 0x14047f3b0 to 0x14047f3f5 (69 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407b6590
// > ??> @ 0x140928808
//
// 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
//
char __fastcall OptionsScrollLayer::cellPerformedAction(__int64 a1, __int64 a2, __int64 a3, int a4)
{
if ( a4 != 1 )
return 0;
if ( *(_BYTE *)(a1 + 24) )
OptionsScrollLayer::setupList(a1 - 664, *(_QWORD *)(a1 + 8));
else
CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 16) + 544LL));
return 1;
}