//
// SelectFontLayer2::cellPerformedAction from 0x14058e2d0 to 0x14058e32a (90 bytes)
//
// 4 xrefs:
// > ??> @ 0x1407e3ab0
// > ??> @ 0x1408dd56c
// > ??> @ 0x1408dd57c
// > ??> @ 0x14092cc30
//
// 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:34:30 +0000
//
char __fastcall SelectFontLayer2::cellPerformedAction(__int64 a1, __int64 a2, int a3, int a4)
{
__int64 v4; // rbx
__int64 v5; // rdx
if ( a3 != 33 || a4 != 1 )
return 0;
v4 = a1 - 664;
LevelEditorLayer::updateLevelFont(*(_QWORD *)(a1 + 8), *(_DWORD *)(a2 + 564));
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 992LL))(v4, 0);
LOBYTE(v5) = 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 520LL))(v4, v5);
return 1;
}