If you want the money to be funnelled to a company in your local country then you need a set up a Transfer Pricing Agreement. This basically means that your local company charges the US company for services rendered, and the US company charges your customers. You pay local tax on whatever goes to your local company and US tax on whatever remains. The hard part is determining a percentage.
I believe that the rules for this are different per country, but in our case (New Zealand), we needed to set up what is called an "Arms Length Agreement". That is to say, you need to be able to prove that the relationship you have could have formed between any two unrelated companies.
As we are a game company, we called our US company a publisher of our game and we did a 70/30 split with it. This is justified by the fact that you can get a 70/30 split with a fair number of other methods for publishing independent games (for example, the apple app store).
All up we paid several thousand for legal advice and incorporation costs.