Is there any way to modify the variable name processing to allow for different naming conventions?

I was frustrated that there was nowhere online with an answer to this so I decided to find where Unreal creates its display names. It already removes “b” prefixes on bools in Engine\Source\Runtime\Core\Private\UObject\UnrealNames.cpp Line 2504, so you can just modify this code so that it ignores other prefixes like “m”. This does mean changing Engine code, so it will require that you build from Source: Downloading Unreal Engine Source Code | Unreal Engine 5.4 Documentation | Epic Developer Community

Here’s my modified code:

        // Skip the character if using any combination of m, b and _ before the first Uppercase character
		// For example, a bool could be m_bIsOn, so the editor should show IsOn
		if (OutDisplayName.Len() == 0 && (bIsBool && ch == 'b' || ch == 'm' || bIsUnderscore))
		{
			continue;
		}