//
// OptionsScrollLayer::cellPerformedAction from 0xb84e24 to 0xb84e8c (104 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'OptionsScrollLayer::cellPerformedAction @ 0xb84e90
// > ??> @ 0xcf8b0
// > ??> @ 0x14d5408
//
// 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 13:02:30 +0000
//
__int64 __fastcall OptionsScrollLayer::cellPerformedAction(__int64 a1, __int64 a2, __int64 a3, int a4)
{
unsigned int v5; // w19
if ( a4 != 1 )
return 0;
v5 = *(unsigned __int8 *)(a1 + 688);
if ( *(_BYTE *)(a1 + 688) )
{
OptionsScrollLayer::setupList((OptionsScrollLayer *)a1, *(cocos2d::CCArray **)(a1 + 672));
}
else
{
v5 = 1;
CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 680) + 544LL));
}
return v5;
}