//
// FontPreviewCell::draw from 0x100315d98 to 0x100315e48 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092eaf8
//
// 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 11:03:15 +0000
//
void __fastcall FontPreviewCell::draw(__int64 a1)
{
unsigned int v2; // w8
float32x2_t v3; // d1
float v4; // [xsp+8h] [xbp-28h] BYREF
__int64 v5; // [xsp+10h] [xbp-20h] BYREF
float v6[2]; // [xsp+18h] [xbp-18h] BYREF
sub_1000262C4(v6, *(float *)(a1 + 520), *(float *)(a1 + 524));
sub_1000262F4(&v5, &dbl_1009F6770);
sub_1000262BC(&v4, v6[0], v6[1]);
v2 = *(_DWORD *)(a1 + 548);
v3 = vdiv_f32(
vcvt_f32_u32((uint32x2_t)vand_s8(
(int8x8_t)vshl_u32((uint32x2_t)vdup_n_s32(v2), (uint32x2_t)0xFFFFFFF0FFFFFFF8LL),
(int8x8_t)0xFF000000FFLL)),
(float32x2_t)vdup_n_s32(0x437F0000u));
sub_1002E962C((__int64)&v5, &v4, (float)(unsigned __int8)v2 / 255.0, v3.f32[0], v3.f32[1], (float)HIBYTE(v2) / 255.0);
cocos2d::CCNode::draw();
}