This is for a jailbreak tweak, so it doesn't matter that I need to use private frameworks.
How can you change the volume of the device and how can you turn off silent mode?
If there is an easier way to play a sound at a specific volume and will always play regardless of silent mode is on or off, this will actually be better.