//
// sub_74CD8C from 0x74cd8c to 0x74cdc4 (56 bytes)
//
// 0 xrefs:
//
// 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
//
void *__fastcall sub_74CD8C(int a1)
{
unsigned int v2; // r0
void *result; // r0
v2 = sub_756B58(&unk_ACCF1C);
if ( v2 >= *(_DWORD *)(*(_DWORD *)a1 + 8) || (v2 = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)a1 + 4) + 4 * v2)) == 0 )
sub_772FE4(v2);
result = _dynamic_cast(
(const void *)v2,
(const struct __class_type_info *)&`typeinfo for'std::locale::facet,
(const struct __class_type_info *)&`typeinfo for'std::collate,
0);
if ( !result )
_cxa_bad_cast();
return result;
}