Gents, the EULA of macOS explicitly states that you are only allowed to run macOS on Apple branded hardware. Furthermore, you are only allowed to run virtual instances of macOS - you guessed it - on Apple branded hardware.
If you install VMware ESXi on original Apple hardware, you won't need to patch anything, because VMware knows that it is legal to run virtual instances of macOS on computers with an Apple logo -- the available patches (or should we call them cracks, because that is what they are) disable that hardware check.
You're promoting a legally problematic solution in this thread, to say the least. Especially the part recommending the download of specially prepared macOS images shouldn't be publicly visible on this forum at all.
The recommendation to purchase Snow Leopard won't help anybody, simply because the legal loophole that would allow to use it on non-Apple computers is unique to Germany -- no other country ever had a supreme court ruling against American EULAs (the so-called "Microsoft OEM ruling"), and no other country ever ruled that a EULA can only be valid and legally binding if you are able to read it BEFORE you buy and install the software. If you don't live in Germany, you might still buy a hard copy of Snow Leopard, sure, but Apple's EULA will be binding for you and forbid you to use it on non-Apple hardware - and outside of Germany Apple has every legal option to enforce the EULA and sue you for violating it. So think twice about this if you want to stay fully legal.
Let's openly say something else as well while we're at it: If you're okay with using a pirated or a 'simply' unlicensed copy of macOS (either in a VM or on regular PC hardware) or if you are okay with completely violating its license agreement, then you should also be okay with using a pirated copy of B4X and none of you should have a problem when other people are using pirated copies of the software that YOU have written. But unless you write Open Source software, my guess is that in all likelihood none of you will think that the latter is fine.
I remember very well the time when 18 years ago the software company that I worked for went bankrupt and I lost my job and had to live on my credit card for three months -- and at the same time, I could find our product on the eDonkey network. Maybe I'm a bit biased when I say this, but if you don't want to pay for soft- and hardware, then don't use it.