//
// CCTextInputNode::updateDefaultFontValues from 0x100065cb0 to 0x100065d45 (149 bytes)
//
// 0 xrefs:
//
// 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:19:43 +0000
//
__int64 __fastcall CCTextInputNode::updateDefaultFontValues(__int64 a1, unsigned __int8 *a2)
{
const void *v3; // rdi
unsigned __int64 v4; // rcx
size_t v5; // rdx
__int64 result; // rax
_QWORD __s2[4]; // [rsp+9h] [rbp-27h] BYREF
strcpy((char *)__s2, "chatFont.fnt");
v3 = a2 + 1;
v4 = *a2 >> 1;
if ( (*a2 & 1) != 0 )
{
v3 = *((const void **)a2 + 2);
v4 = *((_QWORD *)a2 + 1);
}
v5 = 12;
if ( v4 < 0xC )
v5 = v4;
result = (v4 == 12) & (unsigned __int8)(memcmp(v3, __s2, v5) == 0);
_mm_storel_ps(
(double *)(a1 + 464),
_mm_blendv_ps(
(__m128)0x41A000003FC00000uLL,
(__m128)xmmword_100A03FF0,
(__m128)_mm_slli_epi32(_mm_shuffle_epi32(_mm_cvtsi32_si128((unsigned __int8)result), 80), 0x1Fu)));
return result;
}