//
// OptionsScrollLayer::cellPerformedAction from 0x6be004 to 0x6be032 (46 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'OptionsScrollLayer::cellPerformedAction @ 0x6be036
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:48 +0000
//
int __fastcall OptionsScrollLayer::cellPerformedAction(int a1, int a2, int a3, int a4)
{
int v4; // r4
if ( a4 != 1 )
return 0;
v4 = *(unsigned __int8 *)(a1 + 532);
if ( *(_BYTE *)(a1 + 532) )
{
OptionsScrollLayer::setupList((OptionsScrollLayer *)a1, *(cocos2d::CCArray **)(a1 + 524));
}
else
{
v4 = 1;
CustomListView::reloadAll(*(CCMenuItemToggler **)(*(_DWORD *)(a1 + 528) + 440));
}
return v4;
}