You still only have a total of 12 cores, the other 12 cores are hyperthreads and they should not affect the number used by SQL Server, but I may be wrong so you should probably contact your software vendor or Microsoft. Just remember, they may not give you an accurate answer either.