Mix the cream cheese, icing sugar and vanilla until smooth. Scoop 12 portions of the mix onto a lined tray and freeze for at least 30 minutes.
Beat the cold butter with the brown and caster sugars until just combined. Add the eggs and vanilla and mix again.
Whisk together the flour, cornflour, baking powder, bicarbonate of soda and salt. Add this to the bowl and mix to form a thick dough.
Fold in the chocolate chunks. Add the raspberries and gently fold them through.
Divide the dough into 8 balls. Flatten each one, place a frozen cheesecake scoop in the middle and wrap the dough around it. Chill the shaped cookies for 1 hour.
Preheat the oven to 180°C (350°F). Bake 4 cookies per tray for 12 to 14 minutes until the edges are set and the centres look soft. Cool on the tray for 15 minutes.
If the cookies spread a bit while baking, use a large cookie cutter or cookie ring to swoosh them back into shape as they cool. Place the cookie ring over the cookie and swirl it back into shape.