//
// sub_765A50 from 0x765a50 to 0x765a88 (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
//
const void *__fastcall sub_765A50(int a1)
{
unsigned int v2; // r0
const void *result; // r0
v2 = sub_756B58(&dword_ACDD6C);
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::messages,
0) != nullptr);
return result;
}