//
// sub_74DBE4 from 0x74dbe4 to 0x74dc22 (62 bytes)
//
// 2 xrefs:
// > sub_76E97C @ 0x76e9f2
// > sub_76EE84 @ 0x76ee90
//
// 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
//
const void *__fastcall sub_74DBE4(int a1)
{
unsigned int v2; // r0
const void *result; // r0
v2 = sub_756B58(&unk_AD2CCC);
if ( v2 >= *(_DWORD *)(*(_DWORD *)a1 + 8) )
return nullptr;
result = *(const void **)(*(_DWORD *)(*(_DWORD *)a1 + 4) + 4 * v2);
if ( result )
return (const void *)(_dynamic_cast(
result,
(const struct __class_type_info *)&`typeinfo for'std::locale::facet,
(const struct __class_type_info *)&`typeinfo for'std::codecvt,
0) != nullptr);
return result;
}