//
// FontPreviewCell::onSelectFont from 0xd029b8 to 0xd029f8 (64 bytes)
//
// 4 xrefs:
// > ??> @ 0xb8618
// > FontPreviewCell::loadFromIndex @ 0xd02d4c
// > FontPreviewCell::loadFromIndex @ 0xd02e9c
// > ??> @ 0x1545538
//
// 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 13:06:54 +0000
//
__int64 __fastcall FontPreviewCell::onSelectFont(__int64 this, cocos2d::CCObject *a2)
{
__int64 v2; // x1
__int64 (__fastcall ***v3)(_QWORD, __int64, __int64, __int64, _QWORD); // x2
v2 = *(_QWORD *)(this + 416);
if ( v2 )
{
v3 = *(__int64 (__fastcall ****)(_QWORD, __int64, __int64, __int64, _QWORD))(v2 + 632);
if ( v3 )
return (**v3)(v3, this, 33, 1, 0);
}
return this;
}