//
// StartPosBrowser::cellPerformedAction from 0x7d528c to 0x7d5358 (204 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'StartPosBrowser::cellPerformedAction @ 0x7d535c
// > ??> @ 0x8f770
// > ??> @ 0x1438850
//
// 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 12:54:20 +0000
//
bool __fastcall StartPosBrowser::cellPerformedAction(__int64 a1, __int64 a2, int a3, int a4)
{
_BOOL4 v4; // w20
int v7; // w0
unsigned int v8; // w21
cocos2d::CCArray *v9; // x0
__int64 v10; // x3
void (__fastcall ***v11)(_QWORD, __int64, _QWORD, __int64); // x0
v4 = a3 == 24 && a4 == 1;
if ( a3 != 24 || a4 != 1 )
return 0;
v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a2 + 552) + 64LL))(*(_QWORD *)(a2 + 552));
*(_DWORD *)(a1 + 696) = v7;
v8 = v7;
if ( v7 > 0 && (v9 = *(cocos2d::CCArray **)(a1 + 680)) != nullptr && v8 <= (unsigned int)cocos2d::CCArray::count(v9) )
v10 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 680), v8 - 1);
else
v10 = 0;
v11 = *(void (__fastcall ****)(_QWORD, __int64, _QWORD, __int64))(a1 + 712);
if ( v11 )
(**v11)(v11, a1, *(unsigned int *)(a1 + 696), v10);
StartPosBrowser::onClose((StartPosBrowser *)a1, nullptr);
return v4;
}