function d_cour_gotHit() /* entry=266 class_id=0x04C2 slot=0x06 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    ref, /* [BP+0Ah] type=0x69 */
    vel, /* [BP+0Ch] type=0x69 */
    goods; /* [BP-02h] type=0x24 */

  set_info(0x020C, *(arg_06));
  process_exclude();
  if (UCMachine.rndRange(100, 0) <= 50) {
    return;
  }
  else {
    /* loopscr value_u8=0x24 */
    /* loop current_var=0xFE string_bytes=0x1 loop_type=0x4 */
    while (!condition) {
      spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
      suspend;
      spawn ITEM.slot_28(pid, 1, 0, goods);
      suspend;
      /* loopnext  */
    }
    spawn FREE.waitNTimerTicks(pid, 30, 0x00000000);
    suspend;
  }
  return;
}
