//
// LevelPickerPopup::cellPerformedAction from 0x1400eb8f0 to 0x1400eb964 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407299d0
// > ??> @ 0x140914f54
//
// 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:26:34 +0000
//
char __fastcall LevelPickerPopup::cellPerformedAction(__int64 a1, __int64 a2, int a3, int a4)
{
void (__fastcall ***v5)(_QWORD); // rcx
__int64 v6; // rcx
if ( a4 == 1 )
{
if ( a3 == 37 )
{
if ( *(_QWORD *)(a2 + 568) )
{
v5 = *(void (__fastcall ****)(_QWORD))(a1 + 8);
if ( v5 )
(**v5)(v5);
}
LABEL_10:
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 784) + 1096LL))(a1 - 784, 0);
return 1;
}
if ( a3 == 39 )
{
if ( *(_QWORD *)(a2 + 560) )
{
v6 = *(_QWORD *)(a1 + 8);
if ( v6 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 8LL))(v6);
}
goto LABEL_10;
}
}
return 0;
}