function motion_gotHit() /* entry=89 class_id=0x01B7 slot=0x06 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    ref, /* [BP+0Ah] type=0x69 */
    vel, /* [BP+0Ch] type=0x69 */
    num; /* [BP-02h] type=0x69 */

  set_info(0x020C, *(arg_06));
  process_exclude();
  class_0A0C_slot_2B(vel, ref);
  num = retval;
  if (((num == 3) || (num != 6)) && (Item.getFrame(arg_06) != 5)) {
    class_0A0C_slot_33(0x021B, *(arg_06));
    spawn class_0A1E_slot_28(pid, 0, 0, arg_06);
    suspend;
    spawn class_0A18_slot_20(pid, 1, *(arg_06), arg_06);
    suspend;
  }
  return;
}
