A bomber rogue's combination of the alchemist discoveries explosive missile and demolition charge allows the rogue to deal the weapon's damage and the bomb's damage then subtract that from an object's hardness… somehow.
Note that the weapon's damage will probably be reduced before hardness is applied:
Objects take half damage from ranged weapons (unless the weapon is a siege engine or something similar). Divide the damage dealt by 2 before applying the object's hardness.
And, because typical alchemist's bomb deals fire damage, the fire damage will also probably be reduced before hardness is applied:
Energy attacks deal half damage to most objects. Divide the damage by 2 before applying the object's hardness. Some energy types might be particularly effective against certain objects, subject to GM discretion. For example, fire might do full damage against parchment, cloth, and other objects that burn easily. Sonic might do full damage against glass and crystal objects.
And, finally, after reducing the damage like it says to above, ask the DM if the object's hardness applies separately against each different type of damage or if the object's hardness applies but once against the total of the remaining damage. (This DM recommends the latter. James Jacobs seems to recommend here dividing the hardness by the number damage types then applying each bit of hardness separately. I don't even.) Then determine if the object's unharmed, damaged, broken, or destroyed. With all that potential halving, I hope you're shooting at scrolls or something.
Note that this makes hardness a little different from damage reduction, which says, "Whenever damage reduction completely negates the damage from an attack, it also negates most special effects that accompany the attack," but even damage reduction says, "Damage Reduction does not negate… energy damage dealt along with an attack," so even if the GM says hardness does work like damage reduction except for objects, it's not like you're trying to destroy an object by poisoning it, so your rogue's demolition charge/explosive missile should work just fine. Well, fine as in just like it says above, anyway.