//
// FontPreviewCell::onSelectFont from 0x14058dd20 to 0x14058dd5e (62 bytes)
//
// 2 xrefs:
// > FontPreviewCell::loadFromIndex @ 0x14058dbf0
// > ??> @ 0x14092cc0c
//
// 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
//
__int64 __fastcall FontPreviewCell::onSelectFont(__int64 a1)
{
__int64 v2; // rcx
__int64 (__fastcall ***v3)(_QWORD, __int64, __int64, __int64, _QWORD); // rcx
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 416);
if ( v2 )
{
v3 = *(__int64 (__fastcall ****)(_QWORD, __int64, __int64, __int64, _QWORD))(v2 + 624);
if ( v3 )
return (**v3)(v3, a1, 33, 1, 0);
}
return result;
}