//
// OptionsScrollLayer::cellPerformedAction from 0x10046bc64 to 0x10046bcb4 (80 bytes)
//
// 2 xrefs:
// > sub_10046BCB4 @ 0x10046bcb8
// > ??> @ 0x10096bc60
//
// This function is hookable on this platform (idp: arm, 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:05:35 +0000
//
bool __fastcall OptionsScrollLayer::cellPerformedAction(__int64 a1, __int64 a2, __int64 a3, int a4)
{
if ( a4 == 1 )
{
if ( *(_BYTE *)(a1 + 688) == 1 )
OptionsScrollLayer::setupList(a1, *(_QWORD *)(a1 + 672));
else
CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 544LL));
}
return a4 == 1;
}