//
// int `std::locale::name from 0x1405127dd to 0x140512803 (38 bytes)
//
// 3 xrefs:
// > ??> @ 0x1406a7ddc
// > ??> @ 0x1406ee5a8
// > ??> @ 0x1406ee5b4
//
// 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 `std::locale::name'::`1'::dtor$0(__int64 a1, __int64 a2)
{
if ( (*(_DWORD *)(a2 + 32) & 1) != 0 )
{
*(_DWORD *)(a2 + 32) &= ~1u;
sub_14003A7E0((void *)(a2 + 80));
}
}