//
// sub_CFFD24 from 0xcffd24 to 0xcffd90 (108 bytes)
//
// 6 xrefs:
// > sub_CCF30C @ 0xccf398
// > sub_CCF30C @ 0xccf3fc
// > sub_CCF5E4 @ 0xccf640
// > sub_CCF5E4 @ 0xccf6a4
// > sub_CCF6B8 @ 0xccf708
// > sub_CCF6B8 @ 0xccf748
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_CFFD24(__int64 a1)
{
unsigned __int64 v2; // x0
unsigned int v3; // w2
const void *v4; // x0
v2 = sub_CEA974(&qword_124B670);
v3 = 0;
if ( v2 < *(_QWORD *)(*(_QWORD *)a1 + 16LL) )
{
v4 = *(const void **)(*(_QWORD *)(*(_QWORD *)a1 + 8LL) + 8 * v2);
if ( v4 )
return _dynamic_cast(
v4,
(const struct __class_type_info *)&`typeinfo for'std::locale::facet,
(const struct __class_type_info *)&`typeinfo for'std::num_get>,
0) != nullptr;
}
return v3;
}