//
// SelectFontLayer2::cellPerformedAction from 0x100970880 to 0x1009708d2 (82 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bcf4b8
//
// 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 12:38:52 +0000
//
__int64 __fastcall SelectFontLayer2::cellPerformedAction(__int64 *a1, __int64 a2, int a3, int a4)
{
unsigned int v4; // ebx
int v5; // ecx
v5 = a3 ^ 0x21 | a4 ^ 1;
LOBYTE(v4) = v5 == 0;
if ( !v5 )
{
LevelEditorLayer::updateLevelFont(a1[84], *(_DWORD *)(a2 + 552));
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1072))(a1, 0);
(*(void (__fastcall **)(__int64 *, __int64))(*a1 + 528))(a1, 1);
}
return v4;
}